change /start to post

This commit is contained in:
Josh
2018-06-07 16:57:56 -04:00
parent 2b28c750a8
commit 520c489e62
3 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ Rails.application.routes.draw do
# Extended room routes.
scope '/r/:room_uid' do
post '/', to: 'rooms#join'
get '/start', to: 'rooms#start', as: :start_room
post '/start', to: 'rooms#start', as: :start_room
get '/logout', to: 'rooms#logout', as: :logout_room
post '/home', to: 'rooms#home', as: :make_home