forked from External/greenlight
GRN2-xx: Fixed minor issues related to deletes (#506)
* Minor fixes to improve quality * Changed styling on login button
This commit is contained in:
committed by
Jesus Federico
parent
b5aa7edd16
commit
2e064de0a9
@ -36,7 +36,7 @@ module SessionsHelper
|
||||
redirect_to admins_path
|
||||
elsif user.activated?
|
||||
# Dont redirect to any of these urls
|
||||
dont_redirect_to = [root_url, signup_url, unauthorized_url, internal_error_url, not_found_url]
|
||||
dont_redirect_to = [root_url, signin_url, signup_url, unauthorized_url, internal_error_url, not_found_url]
|
||||
url = if cookies[:return_to] && !dont_redirect_to.include?(cookies[:return_to])
|
||||
cookies[:return_to]
|
||||
else
|
||||
|
Reference in New Issue
Block a user