:except options in routes that contain collections and members not working

Viewed 15445

Currently the route exceptions are still showing up when I run rake routes.

resources :userhome, :except => [:new, :create, :edit, :update, :show, :destroy] do
  collection do
    post :create_invitation
  end
  member do
    get :edit_profile_picture
    post :update_profile_picture
  end
end

How can I make the exceptions work?

1 Answers
Related