dimanche 28 janvier 2018

Ruby on Rails, View cannot find path for Collection routes

I added a collection routes which is POST in my routes

 resources: curated_items do
    collection do
      post 'duplicate'
    end
  end

but in my view cannot find path for this duplicate prefix.enter image description here enter image description here

Aucun commentaire:

Enregistrer un commentaire