multi meeting rooms

This commit is contained in:
Zachary Chai
2017-01-27 15:44:24 -05:00
parent 0ce2a226a7
commit d67663fbf1
17 changed files with 123 additions and 66 deletions

View File

@ -17,6 +17,6 @@
module UsersHelper
def is_room_owner
token = current_user ? current_user.encrypted_id : nil
token.present? && params[:id].present? && token == params[:id]
token.present? && params[:room_id].present? && token == params[:room_id]
end
end