Require authentication

This commit is contained in:
2023-04-01 18:53:30 +02:00
parent e29c060a39
commit 0e72219373
3 changed files with 3 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
Rails.application.routes.draw do
devise_for :users
devise_for :users, path: '', path_names: {registration: 'register'}
resources :users
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
root "users#index"
end