我刚刚安装了Laravel 5.1,访问了我的应用程序主页,发现以下错误:
哎呀,好像出了什么事.
1/1
routes.php第16行中的FatalErrorException:
调用未定义的方法Lightiate\Routing\Route::Get()
在routes.php第16行中
这是我的路由.php文件:
<?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 controller to call when that URI is requested.
|
*/
Route::get('/', function () {
return view('welcome');
});