Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (13 sloc) 442 Bytes
Elranks::Application.routes.draw do
resources :teams, only: :index
root to: 'welcome#index'
match "/sign_in" => "welcome#sign_in", via: [:get]
match "/sign_out" => "sessions#destroy", :as => :sign_out, via: [:get, :post]
match "/auth/google/callback" => "sessions#create", via: [:get, :post]
resources :matches, except: [:delete] do
member do
get :confirm
end
end
resources :players, only: [:index, :show]
end
Something went wrong with that request. Please try again.