remove ability to change home room

This commit is contained in:
Joshua Arts
2018-07-03 11:57:45 -04:00
parent ab7ae8434b
commit efcc312e9e
3 changed files with 10 additions and 20 deletions

View File

@ -90,14 +90,6 @@ class RoomsController < ApplicationController
redirect_to @room
end
# POST /:room_uid/home
def home
current_user.main_room = @room
current_user.save
redirect_to @room
end
# POST /:room_uid/:record_id
def update_recording
meta = {