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
actionmailbox-8.0.0 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.2.2 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.1.5 app/controllers/rails/conductor/base_controller.rb
actionmailbox-8.0.0.rc2 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.2.1.2 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.1.4.2 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.8.6 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.7.10 app/controllers/rails/conductor/base_controller.rb
actionmailbox-8.0.0.rc1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-6.1.7.9 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.2.1.1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.1.4.1 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.0.8.5 app/controllers/rails/conductor/base_controller.rb
actionmailbox-8.0.0.beta1 app/controllers/rails/conductor/base_controller.rb
omg-actionmailbox-8.0.0.alpha9 app/controllers/rails/conductor/base_controller.rb
omg-actionmailbox-8.0.0.alpha8 app/controllers/rails/conductor/base_controller.rb
omg-actionmailbox-8.0.0.alpha7 app/controllers/rails/conductor/base_controller.rb
omg-actionmailbox-8.0.0.alpha4 app/controllers/rails/conductor/base_controller.rb
omg-actionmailbox-8.0.0.alpha3 app/controllers/rails/conductor/base_controller.rb
actionmailbox-7.1.4 app/controllers/rails/conductor/base_controller.rb