Reputation: 6516
i want resources :users but without the show action. any way to do it in one line?
resources :users
show
(something like resources :users, :without => :show)
resources :users, :without => :show
Upvotes: 3
Views: 677
Reputation: 222198
Use :except
:except
resources :users, :except => :show
Upvotes: 9