added after confirmation path

This commit is contained in:
saurabhbhatia 2013-11-29 12:31:50 +08:00
parent ea6909a6b0
commit f4be776697
2 changed files with 9 additions and 5 deletions

View File

@ -0,0 +1,9 @@
class ConfirmationsController < Devise::ConfirmationsController
layout "devise"
private
def after_confirmation_path_for(resource_name, resource)
basic_infos_path
end
end

View File

@ -1,8 +1,3 @@
class RegistrationsController < Devise::RegistrationsController
layout "devise"
protected
def after_sign_up_path_for(resource)
basic_infos_path
end
end