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

Pass route params to redirect tag #3801

Merged
merged 1 commit into from Jun 8, 2021
Merged

Pass route params to redirect tag #3801

merged 1 commit into from Jun 8, 2021

Conversation

edalzell
Copy link
Contributor

@edalzell edalzell commented Jun 5, 2021

Recently had the need to pass route params to the redirect tag and discovered it wasn't supported.

This adds that ability. All params except route are passed to the route() helper.

Tests added.

@jasonvarga jasonvarga merged commit 16e17e9 into statamic:3.1 Jun 8, 2021
@jasonvarga
Copy link
Member

Nice, thank you.

@edalzell edalzell deleted the feature/redirect-route-params branch June 8, 2021 20:32
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.

None yet

2 participants