38 lines
701 B
Ruby
38 lines
701 B
Ruby
class PopupsController < ApplicationController
|
|
|
|
respond_to :html
|
|
|
|
def recording_controls
|
|
render :layout => "minimal"
|
|
end
|
|
|
|
def media_controls
|
|
render :layout => "minimal"
|
|
end
|
|
|
|
def how_to_use_video
|
|
render :layout => "minimal"
|
|
end
|
|
|
|
def configure_video
|
|
render :layout => "minimal"
|
|
end
|
|
|
|
def youtube_player
|
|
@video_id = params[:id]
|
|
render :layout => "minimal"
|
|
end
|
|
|
|
def video_upload
|
|
@recording_id = params[:recording_id]
|
|
gon.recording_id = @recording_id
|
|
render :layout => "minimal"
|
|
end
|
|
|
|
def jamtrack_player
|
|
@jamtrack_id = params[:jam_track_id]
|
|
@websocket = true
|
|
gon.jamtrack_id = @jamtrack_id
|
|
render :layout => "minimal"
|
|
end
|
|
end |