如果我像下面这样设置路由,它会自动创建路径,例如 community_community_topic、 new_community_community_topic、 edit_community_community_topic
resources :communities, :path => "community" do
resources :community_topics, :path => "topic"
end
如果我想要这样的路径
community_topic而不是community_community_topics
如何编码我的 routes.rb?