"my_devise/registrations#awaiting_..." />

Routing error with registration controller using devise?

Found the problem. It was a routing issue. Aded this line: devise_for :accounts do match "awaiting_confirmation" => "my_devise/registrations#awaiting_confirmation" end.

Up vote 0 down vote favorite share g+ share fb share tw.

I want to display email confirmation instructions to user after the sign up. I overridden after_inactive_sign_up_path_for def after_inactive_sign_up_path_for(resource) awaiting_confirmation (resource) end I added a an action in the registration controller awaiting_confirmation def awaiting_confirmation(resource) render 'awaiting_confirmation' end I added a view awaiting_confirmation.html. Erb After signup I manage to invoke the awaiting awaiting_confirmation action, but then I get the following an error message: Render and/or redirect were called multiple times in this action.

Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return". Routing devise link|improve this question edited Dec 27 '11 at 21:18 asked Dec 27 '11 at 19:58user663778697 91% accept rate.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions