fix message on raise of pagination links class

This commit is contained in:
Bruno Bacarini 2015-08-11 16:58:36 -03:00
parent e0d050d2af
commit 77a8f66ad8

View File

@ -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)