From: Jean-Philippe Lang Date: Thu, 12 Mar 2009 18:24:32 +0000 (+0000) Subject: Fixes SortHelper examples (#2950). X-Git-Tag: 0.9.0~584 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1852d907ba5ff4951eb4783c31862dfce5f87d2b;p=redmine.git Fixes SortHelper examples (#2950). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2576 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb index 7b7fbc8a3..4ea7b87b0 100644 --- a/app/helpers/sort_helper.rb +++ b/app/helpers/sort_helper.rb @@ -18,7 +18,7 @@ # # def list # sort_init 'last_name' -# sort_update %w(first_name, last_name) +# sort_update %w(first_name last_name) # @items = Contact.find_all nil, sort_clause # end # @@ -29,7 +29,7 @@ # # def list # sort_init 'last_name' -# sort_update %w(first_name, last_name) +# sort_update %w(first_name last_name) # @contact_pages, @items = paginate :contacts, # :order_by => sort_clause, # :per_page => 10