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

Documentation for redirectToUrl seems to be outdated #147

Closed
leonardk1 opened this issue Apr 27, 2022 · 1 comment · Fixed by #191
Closed

Documentation for redirectToUrl seems to be outdated #147

leonardk1 opened this issue Apr 27, 2022 · 1 comment · Fixed by #191
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@leonardk1
Copy link

I was reading through the documentation for redirectToUrl -> https://docs.adonisjs.com/guides/routing#redirecttourl

and when I tried to test it out it does not work. I found with the help of VSCode that what works is redirectToPath .

was redirectToUrl depracated in favour of redirectToPath ? If so, then I think a change should be reflected in the documentation.
I can put in a PR, if it is fine

@thetutlage
Copy link
Member

Ohh yes. The docs needs to be updated. Please share a PR :)

@thetutlage thetutlage added the documentation Improvements or additions to documentation label Apr 27, 2022
@leonardk1 leonardk1 changed the title Documentatation for redirectToUrl seems to be outdated Documentation for redirectToUrl seems to be outdated Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants