<?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.
 */

namespace Flarum\Event;

/**
 * Configure forum routes.
 *
 * This event is fired when routes for the forum client are being registered.
 */
class ConfigureForumRoutes extends AbstractConfigureRoutes
{
    /**
     * {@inheritdoc}
     */
    public function get($url, $name, $handler = 'Flarum\Forum\Action\ClientAction')
    {
        parent::get($url, $name, $handler);
    }
}

<?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.
 */

namespace Flarum\Event;

/**
 * Configure forum routes.
 *
 * This event is fired when routes for the forum client are being registered.
 */
class ConfigureForumRoutes extends AbstractConfigureRoutes
{
    /**
     * {@inheritdoc}
     */
    public function get($url, $name, $handler = 'Flarum\Forum\Controller\ClientController')
    {
        parent::get($url, $name, $handler);
    }
}

Fix default forum route controller
Fix default forum route controller
