added after confirmation path

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

No files matched your search

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