mirror of
https://github.com/flarum/core.git
synced 2025-07-21 00:31:17 +02:00
@@ -43,6 +43,7 @@ class AdminServiceProvider extends AbstractServiceProvider
|
|||||||
$this->app->singleton('flarum.admin.routes', function () {
|
$this->app->singleton('flarum.admin.routes', function () {
|
||||||
$routes = new RouteCollection;
|
$routes = new RouteCollection;
|
||||||
$this->populateRoutes($routes);
|
$this->populateRoutes($routes);
|
||||||
|
|
||||||
return $routes;
|
return $routes;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -42,6 +42,7 @@ class ApiServiceProvider extends AbstractServiceProvider
|
|||||||
$this->app->singleton('flarum.api.routes', function () {
|
$this->app->singleton('flarum.api.routes', function () {
|
||||||
$routes = new RouteCollection;
|
$routes = new RouteCollection;
|
||||||
$this->populateRoutes($routes);
|
$this->populateRoutes($routes);
|
||||||
|
|
||||||
return $routes;
|
return $routes;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -48,6 +48,7 @@ class ForumServiceProvider extends AbstractServiceProvider
|
|||||||
$this->app->singleton('flarum.forum.routes', function () {
|
$this->app->singleton('flarum.forum.routes', function () {
|
||||||
$routes = new RouteCollection;
|
$routes = new RouteCollection;
|
||||||
$this->populateRoutes($routes);
|
$this->populateRoutes($routes);
|
||||||
|
|
||||||
return $routes;
|
return $routes;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -25,6 +25,7 @@ class UpdateServiceProvider extends AbstractServiceProvider
|
|||||||
$this->app->singleton('flarum.update.routes', function () {
|
$this->app->singleton('flarum.update.routes', function () {
|
||||||
$routes = new RouteCollection;
|
$routes = new RouteCollection;
|
||||||
$this->populateRoutes($routes);
|
$this->populateRoutes($routes);
|
||||||
|
|
||||||
return $routes;
|
return $routes;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user