Sha256: 8729c15b5549c2529d58d35e2a8d0abc385057f742cc782ee7aa944b7d625be1

Contents?: true

Size: 338 Bytes

Versions: 147

Compression:

Stored size: 338 Bytes

Contents

# frozen_string_literal: true

module Rails
  # TODO: Move this to Rails::Conductor gem
  class Conductor::BaseController < ActionController::Base
    layout "rails/conductor"
    before_action :ensure_development_env

    private
      def ensure_development_env
        head :forbidden unless Rails.env.development?
      end
  end
end

Version data entries

147 entries across 142 versions & 11 rubygems

Version Path
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-6.1.6.1/app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.5 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.4.3 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.7.3 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.7.2 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.4.2 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.4.1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.7.1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.0.6.1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.4 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.7 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.0.6 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.3.1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.6.1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.0.5.1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.0.5 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.6 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.3 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.2.4 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.5.1 app/controllers/rails/conductor/base_controller.rb