From 1852d907ba5ff4951eb4783c31862dfce5f87d2b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 12 Mar 2009 18:24:32 +0000 Subject: [PATCH] Fixes SortHelper examples (#2950). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2576 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/sort_helper.rb | 4 ++-- 1 file 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 -- 2.39.5