Use a standard routes file by default.
This commit is contained in:
parent
2effec9c11
commit
b0334fd4de
|
@ -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');
|
|
@ -23,7 +23,7 @@ public function before()
|
||||||
*/
|
*/
|
||||||
public function map()
|
public function map()
|
||||||
{
|
{
|
||||||
$this->get('/', 'HomeController@index');
|
require app_path().'/src/Http/routes.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue