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?