join with specific id

This commit is contained in:
joshua-arts
2018-06-03 14:57:30 -04:00
parent 140547d035
commit 79949b4aa6
5 changed files with 26 additions and 6 deletions

View File

@ -77,9 +77,6 @@ class RoomsController < ApplicationController
opts = default_meeting_options
opts[:user_is_moderator] = true
@room.sessions += 1
@room.save
redirect_to @room.join_path(current_user, opts)
end