Sha256: bf73116c6cfe18db30fd71a7f1f41804288cacd8f09cfbe8f20d7a64704ad818
Contents?: true
Size: 801 Bytes
Versions: 13
Compression:
Stored size: 801 Bytes
Contents
module Arrthorizer module Rails autoload :ControllerAction, "arrthorizer/rails/controller_action" autoload :ControllerConfiguration, "arrthorizer/rails/controller_configuration" autoload :ControllerConcern, "arrthorizer/rails/controller_concern" autoload :ControllerContextBuilder, "arrthorizer/rails/controller_context_builder" autoload :Configuration, "arrthorizer/rails/configuration" class Engine < ::Rails::Engine config.to_prepare do Arrthorizer::Rails::Configuration.load end end module_function def initialize! ActionController::Base.send(:include, ControllerConcern) if defined?(ActionController::API) ActionController::API.send(:include, ControllerConcern) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems