Skip to content

Commit

Permalink
Remove function that is no longer used.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 19, 2016
1 parent 87bd2a9 commit 0f2b3be
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 0f2b3be

Please sign in to comment.