Add projects
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
Rails.application.routes.draw do
|
||||
resources :todos
|
||||
get "/projects", to: "projects#index"
|
||||
get "/projects/:id", to: "projects#show", as: "project"
|
||||
|
||||
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
|
||||
|
||||
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
|
||||
|
||||
Reference in New Issue
Block a user