lib/generators/ecm/rbac/install/templates/initializer.rb in ecm_rbac-0.0.9 vs lib/generators/ecm/rbac/install/templates/initializer.rb in ecm_rbac-0.0.10
- old
+ new
@@ -2,6 +2,13 @@
# Set the User class.
#
# Default: config.user_class_name = 'User'
#
config.user_class_name = 'User'
+
+ # Set the path of your default permissions file that will be used by
+ # Ecm::Rbac::ImportDefaultPermissionsService
+ #
+ # default: config.default_permissions_filename = -> { Rails.root.join('config', 'permissions', 'default.yml') }
+ #
+ config.default_permissions_filename = -> { Rails.root.join('config', 'permissions', 'default.yml') }
end