Rails.application.routes.draw do
  # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
  namespace :api do 
    namespace :v1 do
      resources :plants, only: [:index, :create, :destroy]
      resources :gardens, only: [:index]
    end
  end
end
