]> source.dussan.org Git - redmine.git/commitdiff
Fixes SortHelper examples (#2950).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 12 Mar 2009 18:24:32 +0000 (18:24 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 12 Mar 2009 18:24:32 +0000 (18:24 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2576 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/sort_helper.rb

index 7b7fbc8a3ee2e4ce0b73c75192ea83c7ea12ce60..4ea7b87b01361e45c3be068a46bac35b62da0981 100644 (file)
@@ -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