Files
old-holivud2/app/controllers/public/casting_calls_controller.rb
2020-07-16 17:38:21 +02:00

15 lines
308 B
Ruby

class Public::CastingCallsController < Public::BaseController
skip_after_action :verify_authorized
before_action :set_casting_call, only: [:show]
def show
render layout: 'application'
end
private
def set_casting_call
@casting_call = CastingCall.find_by_token(params[:token])
end
end