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
undefined local variable or method `paginator' for _page.html.erb:22 partial #1074
Comments
In your action, did you call the .page method for the session variable? |
I have the same issue here. I am using Rails 7 blogs_controller.rb def index View I have alread add gem 'kaminari', '~> 1.2', '>= 1.2.2' to my Genfile and run bundle install Error ActionController::UnfilteredParameters in Blogs#index unable to convert unpermitted parameters to hash |
Rails - 5.2.6
Kaminari - 1.2.1
Using ActiveAdmin with ActiveAdmin.register_page method and rendering partial
I want to customize pagination links
generated Kaminari default views into 'views/admin/kaminari/report'
Using this code
<%= paginate @users, views_prefix: 'admin', theme: 'report' %>
But getting this error, on
app/views/admin/kaminari/report/_page.html.erb:22:in
The text was updated successfully, but these errors were encountered: