Sha256: cc4dfccd4c90d49ba5cfef3a7206d3458f9719c2d896c2a103d5887ac7fe75d7
Contents?: true
Size: 337 Bytes
Versions: 1
Compression:
Stored size: 337 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
abilities-0.1.1 | lib/abilities/railtie.rb |