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

Fix set current route parameters with pretty urls enabled #6721

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

zorn-v
Copy link
Contributor

@zorn-v zorn-v commented Jan 15, 2025

For example {{ ea_url() }} in templates always return / now, but should return current url as with ugly urls.

@javiereguiluz javiereguiluz added this to the 4.x milestone Jan 15, 2025
@javiereguiluz javiereguiluz merged commit cfeb05b into EasyCorp:4.x Jan 16, 2025
12 checks passed
@javiereguiluz
Copy link
Collaborator

Thanks @zorn-v.

While merging I changed the implementation a bit. Instead of taking all route attributes, we now only take the attributes related to EasyAdmin (CRUD controller, action, etc.). I also added some tests.

See 533e89a

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

Successfully merging this pull request may close these issues.

2 participants