Sha256: 14a7c4ff76f88568e947c94a7a52488b6b87b66003254930997f8e9890a3f409
Contents?: true
Size: 511 Bytes
Versions: 49
Compression:
Stored size: 511 Bytes
Contents
require_dependency "think_feel_do_engine/application_controller" module ThinkFeelDoEngine module Participants # Enables Participants to access Slideshows directly. class PublicSlidesController < ApplicationController def show @slideshow = BitCore::Slideshow.find(params[:slideshow_id]) @slide = @slideshow.slides.find(params[:id]) rescue ActiveRecord::RecordNotFound => e redirect_to new_participant_session_path, alert: e.message end end end end
Version data entries
49 entries across 49 versions & 1 rubygems