Use a standard routes file by default.

This commit is contained in:
Taylor Otwell 2014-08-12 16:18:11 -05:00
parent 2effec9c11
commit b0334fd4de
2 changed files with 15 additions and 1 deletions

14
app/src/Http/routes.php Normal file
View File

@ -0,0 +1,14 @@
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute when that URI is requested.
|
*/
Route::get('/', 'HomeController@index');

View File

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