mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 12:35:44 +08:00
parent
160493e725
commit
f0cea11e79
|
@ -2,6 +2,6 @@ import Model from 'flarum/Model';
|
|||
|
||||
export default class Forum extends Model {
|
||||
apiEndpoint() {
|
||||
return '/forum';
|
||||
return '/';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@ use Flarum\Http\RouteHandlerFactory;
|
|||
return function (RouteCollection $map, RouteHandlerFactory $route) {
|
||||
// Get forum information
|
||||
$map->get(
|
||||
'/forum',
|
||||
'/',
|
||||
'forum.show',
|
||||
$route->toController(Controller\ShowForumController::class)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user