Greetings, I have a login/logout form in a partial which I would like to have rendered on every page of my application. Currently the actions behind the partial all redirect to a single view, regardless of the view the partial was rendered on. Is there a convenient way to have the login action redirect to the view that the login was requested from? Peter.
Please ignore. It appears that I already sent this message! Peter-Frank Spierenburg wrote:> Greetings, > > I have a login/logout form in a partial which I would like to have > rendered on every page of my application. Currently the actions behind > the partial all redirect to a single view, regardless of the view the > partial was rendered on. Is there a convenient way to have the login > action redirect to the view that the login was requested from? > > Peter. > >