I overridden RegistrationController my_devise/Registration controller i overridden the following methos:
def after_inactive_sign_up_path_for(resource) awaiting_confirmation_path
end
I also have a new method in my RegistrationController named:
def awaiting_confirmation(resource)
do tuff....
end
My routing file looks likethis:
devise_for :accounts, :controllers => { :registrations => "my_devise/registrations"}
resources :registration do match "awaiting_confirmation" => "registrations#awaiting_confirmation" end
I get an error message: No route matches {:action=>"awaiting_confirmation", :controller=>"registrations"}
What am i doing wrong?