Commit c33453e9 authored by Taylor Otwell's avatar Taylor Otwell

Pull routes after booting application.

parent b0334fd4
......@@ -23,7 +23,10 @@ class RouteServiceProvider extends ServiceProvider {
*/
public function map()
{
require app_path().'/src/Http/routes.php';
$this->app->booted(function()
{
require app('path.src').'/Http/routes.php';
});
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment