Welcome Guest, Not a member yet? Register   Sign In
URI Routing - only allow custom route?
#1

I have some routing setup e.g. I use an `auth` controller for login/logout stuff etc. and I am routing the methods to nicer URLs to remove the `auth` wording, so `auth/logout` simply becomes `logout`.

However, you can still access `auth/logout` if you know the URL exists.

Is there a way to force the custom routes to be the only way to access that particular Controller and Method?
Reply


Messages In This Thread
URI Routing - only allow custom route? - by mr_pablo - 05-06-2016, 06:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB