Reputation: 4517
I created some sort of mini cms, and I am trying to call a function called render_content within the email confirmation view, but it just won't take it :( Alway complaining the method does not exist ? I am not sure what I am doing wrong here... Alex
Upvotes: 4
Views: 873
Reputation: 4517
Well after a while I figured it out, if the helper is located in the Application Helper, then this call will work:
ApplicationController.helpers.render_content()
Alex
Upvotes: 4