Production fixes
This commit is contained in:
@@ -27,10 +27,10 @@ private
|
||||
end
|
||||
|
||||
def layout_by_resource
|
||||
if devise_controller?
|
||||
return 'obtain_token' if session[:user_return_to].present?
|
||||
return 'theme1' if session[:supplier_return_to].present?
|
||||
end
|
||||
#if devise_controller?
|
||||
#return 'obtain_token' if session[:user_return_to].present? # resource_name == :user ????
|
||||
#return 'theme1' if session[:supplier_return_to].present?
|
||||
#end
|
||||
"theme1"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user