Improve supplier settings logick

This commit is contained in:
2014-10-06 10:20:13 +02:00
parent a23760965e
commit ca0bf64568
11 changed files with 46 additions and 9 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ class ConfirmationsController < Devise::ConfirmationsController
def after_confirmation_path_for(resource_name, resource)
case resource_name
when :supplier then supplier_settings_path
when :supplier then supplier_root_path(anchor: '/settings')
else root_path
end
end