Files
old-holivud2/app/controllers/public/casting_calls_controller.rb
Senad Uka da8e187430 Cast me
2020-07-15 11:57: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