Class: RoleUp::Railtie
- Inherits:
-
Rails::Railtie
- Object
- Rails::Railtie
- RoleUp::Railtie
- Defined in:
- lib/role_up/railtie.rb
Class Method Summary collapse
Class Method Details
.force_load_abilities ⇒ Object
30 31 32 |
# File 'lib/role_up/railtie.rb', line 30 def self.force_load_abilities Dir[ "#{ Rails.root }/app/abilities/#{ RoleUp.glob }" ].each { |a| load a } end |