Commit 1852d907 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes SortHelper examples (#2950).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2576 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 73eb1580
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment