rails 3资源"没有"

And*_*i S 3 resources routing ruby-on-rails ruby-on-rails-3

我想resources :users但没有show动作.任何方式在一行中做到这一点?

(像resources :users, :without => :show)

Dog*_*ert 9

使用 :except

resources :users, :except => :show
Run Code Online (Sandbox Code Playgroud)