0
namespace :admin do
resources :posts do
collection do
get 'whatever'
end
end
end
我预计会产生 'whatever_admin_posts_path' helper方法,但事实并非如此。
这有什么错我的代码?或在轨道中的错误?,向restful资源添加集合路由不会生成命名路由助手?