1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00

Merge branch 'master' of https://github.com/utkarshkukreti/kaminari into utkarshkukreti-master

This commit is contained in:
Akira Matsuda 2011-04-22 12:09:06 +09:00
commit aaf60cf2ee

View file

@ -25,7 +25,7 @@ module Kaminari
end
def page_url_for(page)
@template.url_for @template.params.merge(@param_name => (page <= 1 ? nil : page))
@template.url_for @params.merge(@param_name => (page <= 1 ? nil : page))
end
end