🧩 Feature request
Make list of Scully routes available inside (render) Plugins
Description
While working on a plugin to add Trailing slashes to href's - the need arises to be able to access a full list of Scully Routes inside the plugin. This doesn't seem possible at the moment. I can see more uses for this list for future plugins.
Describe the solution you'd like
An easy way to access the full list of known Scully routes (including extraRoutes etc) inside a plugin. Maybe for future extensibility the list should also contain the possible additional routing data - however for now (and this specific need) a flat list of routes should be fine (['/route1', 'route2', 'route2/child']).
Describe alternatives you've considered
Possibly fetching the scully-routes.json file directly from the file system.
🧩 Feature request
Make list of Scully routes available inside (render) Plugins
Description
While working on a plugin to add Trailing slashes to href's - the need arises to be able to access a full list of Scully Routes inside the plugin. This doesn't seem possible at the moment. I can see more uses for this list for future plugins.
Describe the solution you'd like
An easy way to access the full list of known Scully routes (including extraRoutes etc) inside a plugin. Maybe for future extensibility the list should also contain the possible additional routing data - however for now (and this specific need) a flat list of routes should be fine (['/route1', 'route2', 'route2/child']).
Describe alternatives you've considered
Possibly fetching the scully-routes.json file directly from the file system.