Sha256: e14475fc8004eb3397145ab81a84384c063c382864aeb7093b0ed130f9d1ff92
Contents?: true
Size: 338 Bytes
Versions: 2
Compression:
Stored size: 338 Bytes
Contents
module Abilities class Railtie < Rails::Railtie initializer 'abilites' do ::ActionView::Base.send :include, Abilities::ActionView::Base ::ActionController::Base.send :include, Abilities::ActionController::Base end config.after_initialize do load Rails.root.join('config/abilities.rb') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
abilities-0.1.2 | lib/abilities/railtie.rb |
abilities-0.1.0 | lib/abilities/railtie.rb |