新手问题 看 Rails Guides,如何很好的理解路由?

dandan · July 08, 2015 · Last by dandan replied at July 08, 2015 · 1348 hits

看 guides,觉得 namespace 好难懂,有大神指点一二嘛?

namespace 主要用在 admin 这种场景。

希望这一章能有帮助 http://rails-practice.com/content/Chapter_2/2.3.html 这里吧 guides 中的介绍重新整理了一遍,方便从资源的角度来理解 routes。

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