You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Craft::$app->urlManager->rules is how we would access any routes defined in the routes.php and in the CP
And then in order to access section routes, we would have to get all the sections Craft::$app->sections->allSections and see which sections have URLs available.
https://github.com/craft-snippets/craft-named-routes
Maybe expose them all as global variables prefixed with
route
or arouteUrl
twig function?The text was updated successfully, but these errors were encountered: