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:
commit
aaf60cf2ee
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue