0

When I want to use uncountable noun in route file, how should I define it in route file? I would like to know common way as Rails.

resources :information, except: [:show]

Is the above correct?

Ken
  • 109
  • 9

2 Answers2

0

Rails will use whatever pluralize returns.

In this case wines which is correct anyway.

Max Woolf
  • 3,988
  • 1
  • 26
  • 39
0

Rails deals well with non countable. So you can do this:

resources :information

Everything will work as expected!

Jeremie
  • 2,241
  • 2
  • 17
  • 25