mirror of
https://github.com/flarum/core.git
synced 2025-07-19 15:51:16 +02:00
@@ -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;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user