routes
routes copied to clipboard
Load another page from argument
Hey everyone!
Is it possible to load domain.com/invite?referal=X
from typing domain.com/invite/X/
?
The only way I got it to work right now is by redirecting ("Location: domain.com/invite?referal=$params["X"]" and exit), the problem is that it is unnecesarily slow and user sees blank page for twice as much time.
Thank you. Matej