v5-docs icon indicating copy to clipboard operation
v5-docs copied to clipboard

Documentation for redirectToUrl seems to be outdated

Open leonardk1 opened this issue 3 years ago • 1 comments

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

leonardk1 avatar Apr 27 '22 06:04 leonardk1

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

thetutlage avatar Apr 27 '22 08:04 thetutlage