Rails Rails 生成的部分路由里,如何强制加斜杠呢

wuwx · October 08, 2013 · Last by feichan replied at October 09, 2013 · 2224 hits

例如主题列表的链接是

http://ruby-china.org/topics/

但对于 new 操作就不用加了,希望是

http://ruby-china.org/topics/new

……我就不吐槽了

@nightire 反正我看到你占楼了

#1 楼 @nightire 那就吐一个吧。。。。。。

不加斜杠 岂不是更漂酿?

Restfull 呢

You need to Sign in before reply, if you don't have an account, please Sign up first.