support relative root urls for deploy to subdirectories

This commit is contained in:
Zachary Chai
2017-02-07 14:43:18 -05:00
parent b09ec1fc69
commit 3db284b8bf
7 changed files with 16 additions and 6 deletions

View File

@ -44,7 +44,7 @@ module ApplicationHelper
end
def omniauth_login_url(provider)
"/auth/#{provider}"
"#{relative_root}/auth/#{provider}"
end
# Whether the current page is the page of a room/meeting or not