aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 1b9f01eb4..b5da135e7 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -58,14 +58,17 @@ ActionController::Routing::Routes.draw do |map|
user.signout '/signout', :action => 'signout'
user.signchangepassword '/signchangepassword', :action => 'signchangepassword'
user.signchangeemail '/signchangeemail', :action => 'signchangeemail'
+
user.confirm '/c/:email_token', :action => 'confirm'
user.show_user '/user/:url_name', :action => 'show'
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.set_profile_photo '/profile/set_photo', :action => 'set_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'
- user.set_profile_about_me '/set_profile_about_me', :action => 'set_profile_about_me'
+ user.get_draft_profile_photo '/profile/draft_photo/:id.png', :action => 'get_draft_profile_photo'
+ user.set_profile_about_me '/profile/set_about_me', :action => 'set_profile_about_me'
+
+ user.river '/river', :action => 'river'
end
map.with_options :controller => 'public_body' do |body|