Don't route nonexistent actions to ProfileController

This commit is contained in:
Raphael Sofaer 2011-08-05 17:46:13 -07:00
parent b4d4499299
commit 13afd9fb7b

View file

@ -94,7 +94,7 @@ Diaspora::Application.routes.draw do
get :stats, :as => 'pod_stats'
end
resource :profile
resource :profile, :only => [:edit, :update]
resources :contacts, :except => [:update, :create] do
get :sharing, :on => :collection