标签: ruby-on-rails ruby-on-rails-3 ruby-on-rails-4
需要生成以下路线
/:owner_name/articles /:articles/:id /owners /:owner_name
我试过,
resources :owners, param: :owner_name, path: '', shallow_path: "", only: [:index, :show] do resources :articles, only: [:index,:show] end
但我无法重现相同的