【发布时间】:2012-06-17 21:31:23
【问题描述】:
在我的 Rails 应用程序中,用户可以创建一个注册表,并且 URL 是例如:
http://localhost:3000/registries/3
我怎样才能使该网址成为例如:
http://localhost:3000/erinwalker
提前致谢。
【问题讨论】:
-
附带说明,this 问题有很多有用的信息,如果您想自己实现它:
标签: ruby-on-rails url routes naming-conventions