diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-12 18:24:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-12 18:24:32 +0000 |
commit | 1852d907ba5ff4951eb4783c31862dfce5f87d2b (patch) | |
tree | cc7933ff6cd1a0adad72dc115bba5b1be870ab53 /app/helpers/sort_helper.rb | |
parent | 73eb1580ae73a425e7c4744e202898e4e35bce8d (diff) | |
download | redmine-1852d907ba5ff4951eb4783c31862dfce5f87d2b.tar.gz redmine-1852d907ba5ff4951eb4783c31862dfce5f87d2b.zip |
Fixes SortHelper examples (#2950).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2576 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/sort_helper.rb')
-rw-r--r-- | app/helpers/sort_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |