about summary refs log tree commit diff
path: root/config
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-14 02:28:49 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-14 02:28:49 +0200
commit7a6d95f70ccb12d61355ecd677eff40dd13260b7 (patch)
tree93abd8019a8ca91c1c251307f0773ca008f4b875 /config
parent9b195f5dd34ad646e1300abaaa42e10cf43cd5db (diff)
E-mail preferences page
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 94507d324..ec0309dc7 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -31,7 +31,11 @@ Rails.application.routes.draw do
     end
   end
 
-  resource  :settings, only: [:show, :update]
+  namespace :settings do
+    resource :profile, only: [:show, :update]
+    resource :preferences, only: [:show, :update]
+  end
+
   resources :media, only: [:show]
 
   namespace :api do