Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update initializer.rb to include the remove_role_if_empty option and … #394

Merged
merged 1 commit into from
Sep 30, 2016

Commits on Apr 10, 2016

  1. Update initializer.rb to include the remove_role_if_empty option and …

    …description
    
    The default action is to remove roles if the last resource is removed. Important to disable this if the roles are associated with permissions (Pundit etc.) and cascades are enabled.
    
    I'd suggest changing the default action, but in absence of that, a small change to the initializer to include the option and description to change it.
    ethier committed Apr 10, 2016
    Configuration menu
    Copy the full SHA
    4386aa1 View commit details
    Browse the repository at this point in the history