forked from External/greenlight
wait for moderator with action cable
This commit is contained in:
@ -10,6 +10,10 @@ class LandingController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
def wait_for_moderator
|
||||
render layout: false
|
||||
end
|
||||
|
||||
def admin?
|
||||
@user == current_user
|
||||
end
|
||||
@ -20,7 +24,7 @@ class LandingController < ApplicationController
|
||||
def render_meeting
|
||||
@meeting_id = params[:id]
|
||||
params[:action] = 'meetings'
|
||||
render :action => 'meeting'
|
||||
render :action => 'meetings'
|
||||
end
|
||||
|
||||
def render_room
|
||||
@ -30,7 +34,7 @@ class LandingController < ApplicationController
|
||||
redirect_to root_path
|
||||
return
|
||||
end
|
||||
render :action => 'room'
|
||||
render :action => 'rooms'
|
||||
end
|
||||
|
||||
end
|
||||
|
Reference in New Issue
Block a user