mirror of
https://github.com/flarum/core.git
synced 2025-06-04 13:45:05 +02:00
- 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