create separate page for login

This commit is contained in:
Zachary Chai
2017-01-19 19:08:59 -05:00
parent ceeafa3208
commit 3039bd168b
10 changed files with 48 additions and 10 deletions

View File

@ -97,6 +97,7 @@ en-US:
published: Published
return_to_room: Return to your personal room
session_url_explanation: The meeting will be taking place using the following URL
signup_description: Login for customized sessions
start: Start
start_meeting: Start Meeting
your_personal_room: Your Personal Room

View File

@ -19,6 +19,7 @@ Rails.application.routes.draw do
mount ActionCable.server => '/cable'
resources :users, only: [:edit, :update]
get '/users/login', to: 'sessions#new'
get '/users/logout', to: 'sessions#destroy', as: :user_logout
match '/auth/:provider/callback', to: 'sessions#create', via: [:get, :post]