Welcome Guest, Not a member yet? Register   Sign In
Best way to get which route was called (for Filter classes)
#1
Question 

Hi there,

Can somebody suggest what is the best way to know which route was called from a controller or filter class?

Please don't say use uri_string() as this won't work for projects that uses baseURLs with a subpath.  I want to check (from my before() function in my custom filter) which route (or controller) was being called by the request.

Thanks in advance  Big Grin Big Grin
Reply


Messages In This Thread
Best way to get which route was called (for Filter classes) - by AcidSlide - 11-16-2019, 06:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB