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

Allow specifying a prefix for route names #496

Closed
wants to merge 5 commits into from

Conversation

moisish
Copy link

@moisish moisish commented Oct 6, 2023

The PR introduces a way of setting a prefix on the name of the routes.

The reason of the PR is if you are building an admin panel and you want to use fortify, it makes sense all the route names to be 'admin.' such as 'admin.login', 'admin.logout'. Especially when you have a frontend where it has it's own Authentication and you need to separate the routes

A new option has been added the config file which by default it keeps the existing behaviour.

@moisish
Copy link
Author

moisish commented Oct 6, 2023

@driesvints The changes on this PR affects Jetstream. How can I handle this case?

@driesvints
Copy link
Member

@moisish gonna be honest here. There's a very slim chance this will ever get merged if it affects Jetstream. You can try marking this as ready for review but I expect it getting declined.

@moisish
Copy link
Author

moisish commented Mar 6, 2024

Should I get the jetsteam changes done as well before I marked this ready?

@driesvints
Copy link
Member

@moisish I don't know. I'd just mark this as ready so Taylor can give his opinion.

@moisish moisish marked this pull request as ready for review March 6, 2024 14:44
@taylorotwell
Copy link
Member

/
Thanks for your pull request to Laravel!

Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.

If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!

If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.

@moisish
Copy link
Author

moisish commented Mar 6, 2024

@taylorotwell anything i can do to get this merged?

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.

3 participants