Application and route helpers stopped working after upgrading to version 1.2.7 #182
Unanswered
itsameandrea
asked this question in
Q&A
Replies: 2 comments
-
you should use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fair! Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks!
I'm running a Rails 6 app with madmin. I upgraded madmin from version 1.2.0 to version 1.2.7 since I wanted to add the search form to my madmin index pages.
After the upgrade, however, the resource-specific madmin pages that I had created started breaking because apparently the route and application helpers don't seem to be loaded.
In my
views/madmin/lessons/index.html.erb
file, for instance, I have this lineThat is throwing this error
If I add the route helpers to the madmin Lessons controller
Then that error goes away. However, things break again when an application helper is encountered
Which generates this error
This time, however, adding
include ApplicationHelper
doesn't seem to do the trick.Any idea of why this might be happening?
Beta Was this translation helpful? Give feedback.
All reactions