public function register() { $this->app->singleton('flarum.update.routes', function () { return new RouteCollection(); }); $this->loadViewsFrom(__DIR__ . '/../../views/install', 'flarum.update'); }