Slowly getting there.
This commit is contained in:
@@ -6,8 +6,12 @@ Rails.application.routes.draw do
|
||||
resources :cafs
|
||||
end
|
||||
|
||||
authenticated :user do
|
||||
root to: 'home#index', as: :authenticated_root
|
||||
end
|
||||
|
||||
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
|
||||
|
||||
# Defines the root path route ("/")
|
||||
root "home#index"
|
||||
root to: redirect('/users/sign_in')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user