jeudi 24 décembre 2015

Ruby on rails execute show instead index

I have a resource called centers defined in routes.rb. When I get localhost:3000/centers centers_controller execute show action instead index. That should not happen according to Ruby on Rails CRUD documentation.

Any idea?

Aucun commentaire:

Enregistrer un commentaire