瞎扯淡 这语法..跟递归似的.! 太难翻译了.

ichord · April 16, 2012 · Last by ichord replied at April 16, 2012 · 2480 hits

来瞧瞧递归式被动态

+config.action_view.prefix_partial_path_with_controller_namespace+ determines whether or not partials are looked up from a subdirectory in templates rendered from namespaced controllers

config.action_view.prefix_partial_path_with_controller_namespace 用来指定控制器是否从模板的子目录中根据控制器的命名空间搜索 partial 模板。

@fredwu oh...thanks!!

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