mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
fix message on raise of pagination links class
This commit is contained in:
parent
e0d050d2af
commit
77a8f66ad8
@ -41,8 +41,10 @@ module ActiveModel
|
||||
|
||||
def raise_unless_any_gem_installed
|
||||
return if defined?(WillPaginate) || defined?(Kaminari)
|
||||
raise "AMS relies on either Kaminari or WillPaginate." +
|
||||
"Please install either dependency by adding one of those to your Gemfile"
|
||||
raise <<-EOF
|
||||
AMS relies on either Kaminari or WillPaginate for pagination.
|
||||
Please install either dependency by adding one of those to your Gemfile.
|
||||
EOF
|
||||
end
|
||||
|
||||
def url(options)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user