Remove the redundant argument of warn
This commit is contained in:
parent
ed7477e4ba
commit
87d6c8739a
|
@ -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 New Issue