Sha256: 63b534bc21e365cdd52054822d7a7c80ac283e010d250a964ef0c37a4662e4cb
Contents?: true
Size: 537 Bytes
Versions: 13
Compression:
Stored size: 537 Bytes
Contents
# frozen_string_literal: true 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
13 entries across 13 versions & 1 rubygems