Hi,
I have been wondering for a while now, how to have a function called
right after another function in the controller is executed and before
the template is rendered.
Thanks,
Roland
Hi,
I have been wondering for a while now, how to have a function called
right after another function in the controller is executed and before
the template is rendered.
Thanks,
Roland
Roland M. wrote:
I have been wondering for a while now, how to have a function called
right after another function in the controller is executed and before
the template is rendered.
def func_1
func_2()
render :something
end
What am I missing?
–
Phlip
Redirecting... ← NOT a blog!!!
Thanks Phlip,
I am doing that right now, but I was wondering if there was something
like after_filter … which only executes after the template has been
rendered.
Thanks,
Roland
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs