Tuesday, 22 May 2012

After sign_in/up redirection trouble

I want after login user redirects to page creating new table(website), so I have function in my ApplicationController: def after_sign_in_path_for(resource) new_website_path end and after registration I want user redirects to his edit page: def after_sign_up_path_for(resource) edit_user_registration_path end So the question is - why it doesn't work ?

No comments:

Post a Comment