我的路由设置后没有效果呢?

我的环境是WAMP,PHP的版本是5.5,安装laravel成功后,初始路由可以访问到You have arrived.的页面,但是我新增的路由都没有效果?这是为什么呢?下面是我的路由代码和运行效果。
QQ截图20150106143922.png


QQ截图20150106144107.png


`<?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('/', function()
{
return View::make('hello');
});

Route::get('/hi', function()
{
return 'hi';
});`
已邀请:

qufo

赞同来自:

小弟掐指一算,楼主,rewrite 出问题了。

motecshine - 菜鸟

赞同来自:

http://v4.golaravel.com/docs/4.2/installation 如果你仔细看文档了 应该不会出现这种问题,虽然laravel 文档很简单但是很实用

要回复问题请先登录注册