diff options
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb index dc80a1a9e..14c8cfcfd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -63,8 +63,8 @@ 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' - user.get_draft_profile_photo '/draft_profile_photo/:id', :action => 'get_draft_profile_photo' + user.get_profile_photo '/user/:url_name/photo.png', :action => 'get_profile_photo' + user.get_draft_profile_photo '/draft_profile_photo/:id.png', :action => 'get_draft_profile_photo' end map.with_options :controller => 'public_body' do |body| |