Update code with single-quotes

This commit is contained in:
Renan Gurgel
2019-10-03 14:27:59 -03:00
parent 421ffc479f
commit d022fb8cc4

View File

@@ -112,7 +112,7 @@ MESSAGE
end
if authenticated && resource = warden.user(resource_name)
set_flash_message(:alert, "already_authenticated", scope: "devise.failure")
set_flash_message(:alert, 'already_authenticated', scope: 'devise.failure')
redirect_to after_sign_in_path_for(resource)
end
end