mirror of
https://github.com/flarum/framework.git
synced 2025-05-31 20:43:36 +08:00
23 lines
514 B
PHP
23 lines
514 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* (c) Toby Zerner <toby.zerner@gmail.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
use Flarum\Admin\Controller;
|
|
use Flarum\Http\RouteCollection;
|
|
use Flarum\Http\RouteHandlerFactory;
|
|
|
|
return function (RouteCollection $map, RouteHandlerFactory $route) {
|
|
$map->get(
|
|
'/',
|
|
'index',
|
|
$route->toController(Controller\FrontendController::class)
|
|
);
|
|
};
|