11 lines
241 B
Ruby
11 lines
241 B
Ruby
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
|