From 6045b6cb1880b27e8b21799b9501a794a5f5b88b Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 5 Mar 2016 22:43:05 +0100 Subject: Customizing devise views and controllers --- config/routes.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config/routes.rb') 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] -- cgit