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

Version Path
think_feel_do_engine-3.19.9 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.8 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.7 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.6 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.5 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.4 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.3 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.2 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.1 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.19.0 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.18.0 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.17.2 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.17.1 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.17.0 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.16.3 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.16.2 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.16.1 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.15.7 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.16.0 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb
think_feel_do_engine-3.15.6 app/controllers/think_feel_do_engine/participants/public_slides_controller.rb