Don't route nonexistent actions to ProfileController
This commit is contained in:
parent
b4d4499299
commit
13afd9fb7b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue