```ruby
Rails.application.routes.draw do
root 'sound_treks#index'

get 'session/index'

resources :locations do
  resources :sound_treks, except: [:new]
end

resources :sound_treks, only: [:show]

get 'auth/spotify/callback', to: "sessions#create"
delete 'sign_out', to: "sessions#destroy", as: 'sign_out'

resources :users

resources :playlists, only: [:new, :create, :show]

end
```

Edit callback for Spotify login
user
```ruby
Rails.application.routes.draw do
root 'sound_treks#index'

get 'session/index'

resources :locations do
  resources :sound_treks, except: [:new]
end

resources :sound_treks, only: [:show]

get 'soundtreks.herokuapp.com/callback', to: "sessions#create"
delete 'sign_out', to: "sessions#destroy", as: 'sign_out'

resources :users

resources :playlists, only: [:new, :create, :show]

end
```
assistant