Is there any way to use a link_to method within a controller through a
:flash notice? If a user enters an incorrect username/password, I want
to have a link to a forgotten password form readily available.
My newbie attempt at doing this resulted in the following error:
undefined method `link_to’ for #UserController:0x386aef8
I suppose I could easily have a normal link, was just wondering if there
was a more correct way to do this.