samedi 27 juin 2015

wrong singular for 'slaves'

I have a line resources :slaves in my routes.rb. Which is definitely plural for 'slave', but rails thinks that it's plural form of 'slafe', so I get paths like new_slafe_path. Is there a way to tell rails correct singular form without explicitly specifying each route?

Aucun commentaire:

Enregistrer un commentaire