Skip to content

Fix #465 add option for redirect code to implement post/redirect/get pattern#466

Open
NicoHood wants to merge 3 commits intogetgrav:developfrom
NicoHood:redirect_code
Open

Fix #465 add option for redirect code to implement post/redirect/get pattern#466
NicoHood wants to merge 3 commits intogetgrav:developfrom
NicoHood:redirect_code

Conversation

@NicoHood
Copy link
Copy Markdown
Contributor

It is fully backward compatible:

- redirect: '/'
- redirect:
     route: '{{ page.url }}'
     redirect_code: 303

Copy link
Copy Markdown
Member

@mahagr mahagr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out these changes; making sure that the inputs are what are expected.

@NicoHood
Copy link
Copy Markdown
Contributor Author

Push

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