diff --git a/config/routes.rb b/config/routes.rb
index f6ff5090c5fa7e0cd1890813f252ad3cdc537f87..4c72ff89ba991f2041625f0d6e7e85733a8c32e8 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -52,7 +52,6 @@ Diaspora::Application.routes.draw do
     delete "tag_followings" => "tag_followings#destroy"
   end
 
-  get '/user_photo/:username' => 'users#user_photo'
 
   # get "tag_followings" => "tag_followings#index", :as => 'tag_followings'
 
@@ -119,7 +118,7 @@ Diaspora::Application.routes.draw do
     end
   end
   get '/u/:username' => 'people#show', :as => 'user_profile'
-
+  get '/u/:username/profile_photo' => 'users#user_photo'
 
   # Federation