Rails.application.routes.draw do
  devise_for :users

  root 'welcome#index'

  resources :gigs do
    resources :payments, only: [:new, :create, :edit, :update], shallow: true
  end
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
