Displaying 1 result from an estimated 1 matches for "redirecto_to".
Did you mean:
redirect_to
2008 Jan 16
2
redirecto_to within helpers
Hi all,
In one of my helpers I would like to call a redirect_to(url) action. I
know the helpers are supposed almost only for formatting the view
purposes but it''s the best way I have found to do what I want. If I call
the redirect_to action in a helper I get the error:
undefined method `redirect_to'' for #<#<Class:0x23aaedc>:0x23aaeb4>
any solution for this?