We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey
I am using rabl (via rabl-rails), with Rails 4.2.7.1 (and rails-api). I have the following:
module PaginationHelper def pagination {} end end
and I am calling pagination from within rabl, and I am getting the following.
pagination
undefined local variable or method 'pagination' for # <Rabl::Engine:0x007fbdc8735c20>
I have tried adding helper :pagination to my ApplicationController.
helper :pagination
I have also tried looking at other issues, but they all seem to be from years ago, and are marked as resolved.
The text was updated successfully, but these errors were encountered:
Also tried adding the method directly to the controller using helper_method but that doesnt work either.
helper_method
Sorry, something went wrong.
No branches or pull requests
Hey
I am using rabl (via rabl-rails), with Rails 4.2.7.1 (and rails-api). I have the following:
and I am calling
pagination
from within rabl, and I am getting the following.I have tried adding
helper :pagination
to my ApplicationController.I have also tried looking at other issues, but they all seem to be from years ago, and are marked as resolved.
The text was updated successfully, but these errors were encountered: