Sha256: 5b9e4de25f1da8bb7c37f6d7bb588b70c1488c20718d3a931b52c15373e93840

Contents?: true

Size: 220 Bytes

Versions: 3

Compression:

Stored size: 220 Bytes

Contents

Rails.configuration.to_prepare do
  puts "Including Model::Ecm::Rbac::UserConcern in #{Ecm::Rbac.user_class_name}"
  Ecm::Rbac.user_class_name.constantize.class_eval do
    include Model::Ecm::Rbac::UserConcern
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ecm_rbac-1.2.1 config/initializers/inject_user_concern.rb
ecm_rbac-1.2.0 config/initializers/inject_user_concern.rb
ecm_rbac-1.0.1 config/initializers/inject_user_concern.rb