Oh, I really got this wrong. So, the HTML is already constructed with
the render call, then the rest of the action is executed!
Thanks a lot.
Ronald
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk
On Wednesday, 8 October 2014 11:07:16 UTC-4, Ruby-Forum.com User wrote:
I have an instance variable, @pages, which needs to be set up in a
certain way at the end of several actions, so I thought to be clever and
do it in the following way:
# In my controller
after_action
2 matches
Mail list logo