mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Merge pull request #852 from tsuwatch/fix/warn
Remove the redundant argument of warn
This commit is contained in:
commit
8bc8bb2560
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ module Kaminari
|
|||
end
|
||||
|
||||
def max_pages_per(val)
|
||||
ActiveSupport::Deprecation.warn 'max_pages_per is deprecated. Use max_pages instead.', caller_locations(2)
|
||||
ActiveSupport::Deprecation.warn 'max_pages_per is deprecated. Use max_pages instead.'
|
||||
max_pages val
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue