Working and specced supplier signup
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class ConfirmationsController < Devise::ConfirmationsController
|
||||
private
|
||||
|
||||
def after_confirmation_path_for(resource_name, resource)
|
||||
case resource_name
|
||||
when :supplier then supplier_settings_path
|
||||
else root_path
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user