module-and-template-store/config/initializers/rolify.rb

8 lines
332 B
Ruby
Raw Normal View History

2014-01-10 08:48:23 +00: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
end