Working on app structure.

This commit is contained in:
Taylor Otwell
2014-08-13 09:44:20 -05:00
parent 262dec16f8
commit ee6f47dc47
19 changed files with 8 additions and 7 deletions

View File

@@ -0,0 +1,32 @@
<?php namespace Providers;
use Illuminate\Routing\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider {
/**
* Called before routes are registered.
*
* Register any model bindings or pattern based filters.
*
* @return void
*/
public function before()
{
//
}
/**
* Define the routes for the application.
*
* @return void
*/
public function map()
{
$this->app->booted(function()
{
require app('path').'/routes.php';
});
}
}