mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
parent
dbe8cba14e
commit
cb3baf9955
|
@ -43,6 +43,7 @@ class AdminServiceProvider extends AbstractServiceProvider
|
|||
$this->app->singleton('flarum.admin.routes', function () {
|
||||
$routes = new RouteCollection;
|
||||
$this->populateRoutes($routes);
|
||||
|
||||
return $routes;
|
||||
});
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@ class ApiServiceProvider extends AbstractServiceProvider
|
|||
$this->app->singleton('flarum.api.routes', function () {
|
||||
$routes = new RouteCollection;
|
||||
$this->populateRoutes($routes);
|
||||
|
||||
return $routes;
|
||||
});
|
||||
|
||||
|
|
|
@ -48,6 +48,7 @@ class ForumServiceProvider extends AbstractServiceProvider
|
|||
$this->app->singleton('flarum.forum.routes', function () {
|
||||
$routes = new RouteCollection;
|
||||
$this->populateRoutes($routes);
|
||||
|
||||
return $routes;
|
||||
});
|
||||
|
||||
|
|
|
@ -25,6 +25,7 @@ class UpdateServiceProvider extends AbstractServiceProvider
|
|||
$this->app->singleton('flarum.update.routes', function () {
|
||||
$routes = new RouteCollection;
|
||||
$this->populateRoutes($routes);
|
||||
|
||||
return $routes;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user