1
0
mirror of https://github.com/flarum/core.git synced 2025-01-17 22:29:15 +01:00
Alexander Skvortsov 0c95774333
Refactor Route Resolving and Dispatch (#2425)
- Split DispatchRoute. This allows us to run middleware after we figure out which route we're on, but before we actually execute the controller for that route.
- By making the route name explicitly available to middlewares, applications like CSRF and floodgate can set patterns based on route names instead of the path, which is an implementation detail.
- Support using route name match for CSRF extender, deprecate path match
2020-11-10 12:52:12 -05:00
..
2019-07-06 01:49:55 +02:00