GRN2-269: Pulling room settings using GET instead of data-attributes (#953)

* GRN2-269: Pulling room settings using GET instead of data-attributes

* GRN2-269: added test case and fixed documentation

* GRN2:269: rubocop fix

* GRN2-269: Fixed test case
This commit is contained in:
etiennevvv
2020-02-21 09:20:22 -05:00
committed by GitHub
parent c75c624a1a
commit 92da1f6f87
5 changed files with 36 additions and 9 deletions

View File

@ -112,6 +112,7 @@ Rails.application.routes.draw do
scope '/:room_uid' do
post '/', to: 'rooms#join'
patch '/', to: 'rooms#update', as: :update_room
get '/room_settings', to: 'rooms#room_settings'
post '/update_settings', to: 'rooms#update_settings'
post '/update_shared_access', to: 'rooms#shared_access', as: :room_shared_access
delete '/remove_shared_access', to: 'rooms#remove_shared_access', as: :room_remove_shared_access