ぼざクリ タグ広場 https://hub.nizika.monster
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
542 B

  1. Rails.application.routes.draw do
  2. namespace :api do
  3. namespace :v1 do
  4. resources :posts
  5. # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html
  6. # Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
  7. # Can be used by load balancers and uptime monitors to verify that the app is live.
  8. get "up" => "rails/health#show", as: :rails_health_check
  9. # Defines the root path route ("/")
  10. # root "posts#index"
  11. end
  12. end
  13. end