rails-acnh-randomizer / config / routes.rb
routes.rb
Raw
Rails.application.routes.draw do
  namespace :api do 
    namespace :v1 do
      resources :acnh_villagers
      get '/weather/lat/:lat/long/:long' => 'weather#show'
    end
  end
  # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html

  # Defines the root path route ("/")
  # root "articles#index"
end