1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/config/initializers/rolify.rb

10 lines
371 B
Ruby
Raw Normal View History

2015-05-05 03:10:25 +02:00
Rolify.configure do |config|
# By default ORM adapter is ActiveRecord. uncomment to use mongoid
# config.use_mongoid
# Dynamic shortcuts for User class (user.is_admin? like methods). Default is: false
# Enable this feature _after_ running rake db:migrate as it relies on the roles table
# config.use_dynamic_shortcuts
config.remove_role_if_empty = false
2015-05-05 03:10:25 +02:00
end