0
爲什麼出錯這種簡單的命名路由擲錯誤與命名的路由
Route::get('/', array('as' => 'dashboard', function()
{
return View::make('hello');
}));
我也帶控制器,而不是回調,但始終不變的測試,錯誤的是:
Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException
我使用PHP 5.4.x測試代碼,但我不認爲它與PHP相關,我錯過了什麼?
你acessing通過'http://本地主機/'? –
我配置了一個專用的VirtuaHost'http:// example.dev' –
剛剛編輯了答案。嘗試一下。 –