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 13:12:24 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-05 13:12:24 +0100
commit7e93da3f8d31041034ba4eece5ee7a2cec5cfd2b (patch)
tree7d84ab71fd25ed4413520f16041ffd45721dee31 /config/routes.rb
parent3b4e04dc32eba0f5b1ac11e2db2edd7ca7351291 (diff)
Removing grape and adding devise
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 7dd71ec46..e74f8c368 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -2,6 +2,8 @@ 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'
+
   resources :accounts, path: 'users', only: [:show], param: :username do
     resources :stream_entries, path: 'updates', only: [:show]
   end