Pull routes after booting application.

This commit is contained in:
Taylor Otwell 2014-08-12 16:21:45 -05:00
parent b0334fd4de
commit c33453e97f
1 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,10 @@ public function before()
*/
public function map()
{
require app_path().'/src/Http/routes.php';
$this->app->booted(function()
{
require app('path.src').'/Http/routes.php';
});
}
}