From 0f2b3be9b8753ba2813595f9191aa8d8c31886b1 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 19 Dec 2016 14:21:57 -0600 Subject: [PATCH] Remove function that is no longer used. --- .../Providers/RouteServiceProvider.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php b/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php index 93227d25169d..bc0fa8408ad6 100644 --- a/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php +++ b/src/Illuminate/Foundation/Support/Providers/RouteServiceProvider.php @@ -69,25 +69,6 @@ protected function loadRoutes() $this->app->call([$this, 'map']); } - /** - * Load the standard routes file for the application. - * - * @param string $path - * @return mixed - */ - protected function loadRoutesFrom($path) - { - $router = $this->app->make(Router::class); - - if (is_null($this->namespace)) { - return require $path; - } - - $router->group(['namespace' => $this->namespace], function (Router $router) use ($path) { - require $path; - }); - } - /** * Register the service provider. *