Sha256: f1dea99fc7be9273ec8a4c13814bc5b24ef5dbbb9d0d6466d4b4c2cc5bd3862b

Contents?: true

Size: 416 Bytes

Versions: 13

Compression:

Stored size: 416 Bytes

Contents

# frozen_string_literal: true
require "bit_player"

module ThinkFeelDoEngine
  module Concerns
    # Provides helpers for managing the Navigator.
    module NavigatorEnabled
      extend ActiveSupport::Concern

      private

      def instantiate_navigator
        authenticate_participant! unless current_participant
        @navigator ||= BitPlayer::Navigator.new(current_participant)
      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/concerns/navigator_enabled.rb
think_feel_do_engine-3.22.8 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.22.7 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.22.6 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.22.5 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.22.4 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.22.2 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.22.1 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.22.0 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.21.2 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.21.1 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.21.0 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb
think_feel_do_engine-3.20.1 app/controllers/think_feel_do_engine/concerns/navigator_enabled.rb