Check, if a user has access to a route
If you want to check, if a user has access to a route, you can use the checkNamedRoute method of the
Get current view object from route object
Sometimes you want to get the view object from a route object.
If you want to check, if a user has access to a route, you can use the checkNamedRoute method of the
Sometimes you want to get the view object from a route object.