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

Version Path
think_feel_do_engine-3.22.9 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.22.8 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.22.7 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.22.6 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.22.5 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.22.4 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.22.2 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.22.1 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.22.0 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.21.2 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.21.1 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.21.0 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.20.1 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb