minor fixes

This commit is contained in:
Josh
2018-06-19 16:43:27 -04:00
parent d1b81a385f
commit e1eca134fc
8 changed files with 12 additions and 11 deletions

View File

@ -10,7 +10,7 @@ module ApplicationHelper
# Generates the login URL for a specific provider.
def omniauth_login_url(provider)
"/auth/#{provider}"
"#{Rails.configuration.relative_url_root}/auth/#{provider}"
end
# Determine if Greenlight is configured to allow user signups.