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

remove auth_dsl_file '.freeze' so that Engines can also load auth info #3

Open
wants to merge 1 commit into
base: allow_rails_5
Choose a base branch
from

Conversation

btihen
Copy link

@btihen btihen commented Aug 26, 2020

This change make declarative_authorization (rails 5) version Engine compatible.

While '.freeze' is a good idea on the AUTH_DSL_FILES constant, it prevents Engines from loading supplimental information after the Rails Core has been loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant