mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
10 lines
371 B
Ruby
10 lines
371 B
Ruby
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
|
|
end
|