V Valhalla Well-known member Dec 3, 2014 #1 How could I detect a route match for 'forums' or 'members'? Or simply that a route matches that of a resource (whichever action)?
How could I detect a route match for 'forums' or 'members'? Or simply that a route matches that of a resource (whichever action)?
Jeremy in memoriam 1991-2020 Dec 3, 2014 #2 While in the controller you can use $this->getRouteMatch() to receive the RouteMatch object of the current request.
While in the controller you can use $this->getRouteMatch() to receive the RouteMatch object of the current request.