diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-05 22:43:05 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-05 22:43:05 +0100 |
commit | 6045b6cb1880b27e8b21799b9501a794a5f5b88b (patch) | |
tree | 415169b028c44d15da6a4ddaf152175ff8f1fcc0 /config | |
parent | 7e93da3f8d31041034ba4eece5ee7a2cec5cfd2b (diff) |
Customizing devise views and controllers
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
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] |