mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
20 lines
398 B
PHP
20 lines
398 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* For detailed copyright and license information, please view the
|
|
* LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
use Flarum\Http\RouteCollection;
|
|
use Flarum\Http\RouteHandlerFactory;
|
|
|
|
return function (RouteCollection $map, RouteHandlerFactory $route) {
|
|
$map->get(
|
|
'/',
|
|
'index',
|
|
$route->toAdmin()
|
|
);
|
|
};
|