1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/config/initializers/rolify.rb
2018-11-30 04:41:06 +05:00

11 lines
330 B
Ruby

# frozen_string_literal: true
Rolify.configure do |config|
# Dynamic shortcuts for User class (user.is_admin? like methods).
# Default is: false.
config.use_dynamic_shortcuts
# Configuration to remove roles from database
# once the last resource is removed. Default is: true.
config.remove_role_if_empty = false
end