Class: RoleUp::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/role_up/railtie.rb

Class Method Summary collapse

Class Method Details

.force_load_abilitiesObject



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