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' –
刚刚编辑了答案。尝试一下。 –