From 13afd9fb7b20d2e238bd5876305d72607b7a43a9 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Fri, 5 Aug 2011 17:46:13 -0700 Subject: [PATCH] Don't route nonexistent actions to ProfileController --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 29ca5995b..5dc111920 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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