Sha256: b461ec6cba70a523d71c8891229d93c37b0018f767ea1f56da2bbf34804dd6f1
Contents?: true
Size: 492 Bytes
Versions: 5
Compression:
Stored size: 492 Bytes
Contents
module ActionAccess class Railtie < Rails::Railtie config.eager_load_namespaces << ActionAccess initializer 'action_access.controller_additions' do # Extend ActionController::Base ActiveSupport.on_load :action_controller do include ControllerAdditions end end initializer 'action_access.model_additions' do # Extend ActiveRecord::Base ActiveSupport.on_load :active_record do include ModelAdditions end end end end
Version data entries
5 entries across 5 versions & 1 rubygems