protected function createLaravelRoute()
    {
        $prefix = $this->app->make('config')->get('fluxbb.route_prefix', '');

        $this->app->make('router')->any($prefix.'/{uri}', ['as' => 'fluxbb', 'uses' => function () {
            $dispatcher = new Dispatcher(
                $this->app->make('FluxBB\Web\Router'),
                $this->app->make('FluxBB\Web\ControllerFactory')
            );

            return $dispatcher->handle($this->app->make('request'));
        }])->where('uri', '.*');
    }