1
0
mirror of https://github.com/flarum/core.git synced 2025-06-04 13:45:05 +02:00
Alexander Skvortsov 988b6c9023
Allow extensions to use route resolvers (#2275)
- mapRoutes: don't wrap components in resolvers if they are already resolvers
- Extract defaultResolver into its own class
- Allow either route resolver instances, or components with an optional resolverClass which should accept the component and route name in its constructor.
- Introduce a resolver for DiscussionPage, so that routing from one post to another on the same discussion triggers a scroll instead of rerendering
2020-10-15 18:01:17 -04:00
..
2018-06-20 13:20:31 +09:30
2018-06-20 13:20:31 +09:30
2020-09-23 22:40:37 -04:00