Simplify opening routes.

This commit is contained in:
Taylor Otwell
2015-04-21 14:42:23 -05:00
parent 111fdeba8f
commit 2d9b6958ec
2 changed files with 3 additions and 36 deletions

View File

@@ -11,4 +11,6 @@
|
*/
Route::get('/', 'WelcomeController@index');
Route::get('/', function () {
return view('welcome');
});