mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 04:33:47 +08:00
0c95774333
- 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 |
||
---|---|---|
.. | ||
ConsoleTest.php | ||
CsrfTest.php | ||
EventTest.php | ||
FormatterTest.php | ||
MailTest.php | ||
MiddlewareTest.php | ||
ModelTest.php | ||
NotificationTest.php | ||
PostTest.php | ||
RoutesTest.php | ||
ServiceProviderTest.php | ||
UserTest.php | ||
ValidatorTest.php | ||
ViewTest.php |