Fixes SortHelper examples (#2950).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2576 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
73eb1580ae
commit
1852d907ba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue