Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added explicit require for kaminari #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hansondr
Copy link

This fixes the following error:

undefined method `page_url_for' for class `Kaminari::Helpers::Tag'

which occurs when trying to alias :page_url_for before kaminari has been loaded simple_admin/kaminari:15

Reproduction

Version Info

Rails 4.1.1
Ruby 2.1.2p95

Console Commands

rails new simple_admin_test
cd simple_admin_test
echo "gem 'simple_admin', git: 'https://github.com/jeffrafter/simple_admin.git' " >> Gemfile
bundle install
rails g simple_admin:install
rails s

open browser to localhost:3000/admin expect to see the following:
kaminari_error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant