about summary refs log tree commit diff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-05 22:43:05 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-05 22:43:05 +0100
commit6045b6cb1880b27e8b21799b9501a794a5f5b88b (patch)
tree415169b028c44d15da6a4ddaf152175ff8f1fcc0 /config/routes.rb
parent7e93da3f8d31041034ba4eece5ee7a2cec5cfd2b (diff)
Customizing devise views and controllers
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e74f8c368..8014a2fb2 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -2,7 +2,11 @@ Rails.application.routes.draw do
   get '.well-known/host-meta', to: 'xrd#host_meta', as: :host_meta
   get '.well-known/webfinger', to: 'xrd#webfinger', as: :webfinger
 
-  devise_for :users, path: 'auth'
+  devise_for :users, path: 'auth', controllers: {
+    sessions:           'auth/sessions',
+    registrations:      'auth/registrations',
+    passwords:          'auth/passwords'
+  }
 
   resources :accounts, path: 'users', only: [:show], param: :username do
     resources :stream_entries, path: 'updates', only: [:show]