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

Add optional prefix to GUI routes #163

Merged
merged 2 commits into from
Nov 24, 2021
Merged

Conversation

bynicolas
Copy link
Contributor

Makes a config option to add a prefix to GUI routes. If we only override the default routes to add a prefix, we get a LogicException when using php artisan route:cache .

The config option is set in the .env file using ROLES_GUI_ROUTES_PREFIX.

   LogicException

  Unable to prepare route [prefix/roles] for serialization. Another route has already been assigned name [laravelroles::roles.index].

@jeremykenedy jeremykenedy merged commit 3699591 into jeremykenedy:master Nov 24, 2021
@jeremykenedy
Copy link
Owner

Thank you!

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

Successfully merging this pull request may close these issues.

2 participants