search for: after_sign_up_path_for

Displaying 1 result from an estimated 1 matches for "after_sign_up_path_for".

2010 Nov 12
1
Devise after_sign_up_path_for - how to?
...9;'m new to devise and I''m having a problem overwriting a controller. After sign-up I want the user to go to a static page. In the controllers folder I have created users/registrations_controller.rb class Users::RegistrationsController < Devise::RegistrationsController def after_sign_up_path_for(resource) puts "If I coould see this..." redirect_to account_created_path end end I have the views for users/registrations as instructed by the documentation. In routes I have: devise_for :users, :controllers => { :registrations => "users/registrations&...