aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 5b10a1fae..1705f66ba 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -63,6 +63,7 @@ ActionController::Routing::Routes.draw do |map|
user.contact_user '/user/contact/:id', :action => 'contact'
user.river '/river', :action => 'river'
user.set_profile_photo '/set_profile_photo', :action => 'set_profile_photo'
+ user.get_profile_photo '/user/:url_name/photo', :action => 'get_profile_photo'
end
map.with_options :controller => 'public_body' do |body|