properly generate some urls

This commit is contained in:
Zachary Chai
2017-02-07 14:14:39 -05:00
parent bfbdfc645e
commit b09ec1fc69
9 changed files with 20 additions and 15 deletions

View File

@ -43,6 +43,10 @@ module ApplicationHelper
end
end
def omniauth_login_url(provider)
"/auth/#{provider}"
end
# Whether the current page is the page of a room/meeting or not
def on_room_or_meeting_page?
params[:id].present?