Rails.application.routes.draw do
  root 'maps#index'

  resources :maps, only: [:index]
  get "/drops/followees" => 'drops#followees'
  resources :drops, only: [:new, :index, :show, :create]
  resources :users, only: [:show]
  resources :follows, only: [:create, :destroy]

  get "/login", :to => 'sessions#new', :as => 'login'
  get "/auth/auth0/callback" => "auth0#callback"
  get "/auth/failure" => "auth0#failure"

end

Rails.application.routes.draw do
  root 'maps#index'

  resources :maps, only: [:index]
  get "/drops/followees" => 'drops#followees'
  resources :drops, only: [:new, :index, :show, :create]
  
  resources :users, only: [:show] do
    resources :follows, only: [:index]
  end

  resources :follows, only: [:create, :destroy]

  get "/login", :to => 'sessions#new', :as => 'login'
  get "/auth/auth0/callback" => "auth0#callback"
  get "/auth/failure" => "auth0#failure"

end

Add nested for user follows
Add nested for user follows
