Sha256: 2ab369a0fb1ae5daf5caadfe91e3a446bb1b580cb2e3ee3e219d46e8c548a431

Contents?: true

Size: 345 Bytes

Versions: 11

Compression:

Stored size: 345 Bytes

Contents

# frozen_string_literal: true

module MrCommon
  class PublicBaseController < BaseController
    layout MrCommon.host_app_layout
    skip_before_action MrCommon.authentication_method_name if MrCommon.authentication_method_name.present?
    skip_before_action :authorize_user if MrCommon.current_user_authorization_method_name.present?
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mr_common-2.1.0 app/controllers/mr_common/public_base_controller.rb
mr_common-2.0.0 app/controllers/mr_common/public_base_controller.rb
mr_common-1.3.0 app/controllers/mr_common/public_base_controller.rb
mr_common-1.2.0 app/controllers/mr_common/public_base_controller.rb
mr_common-1.1.0 app/controllers/mr_common/public_base_controller.rb
mr_common-1.0.5 app/controllers/mr_common/public_base_controller.rb
mr_common-1.0.4 app/controllers/mr_common/public_base_controller.rb
mr_common-1.0.3 app/controllers/mr_common/public_base_controller.rb
mr_common-1.0.2 app/controllers/mr_common/public_base_controller.rb
mr_common-1.0.1 app/controllers/mr_common/public_base_controller.rb
mr_common-1.0.0 app/controllers/mr_common/public_base_controller.rb