Actually, the call to index_response is not necessary. Old
documentation was less misleading than I thought.
def index
hobo_index do
self.this = self.this.search(params[:search], :name) if params[:search]
self.this = self.this.order_by(parse_sort_param(:name,
:quantity)) if params[:sort]
end
end
Bryan
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.