Remove redundant user routes

This commit is contained in:
Daniel Schädler 2018-11-12 18:26:26 +01:00 committed by Malaber
parent bf0e88a5fc
commit 9964622548
1 changed files with 0 additions and 6 deletions

View File

@ -3,12 +3,6 @@
Rails.application.routes.draw do
mount_devise_token_auth_for 'User', at: 'users'
post '/users', to: 'user#create'
post '/users/sign_in', to: 'user#sign_in'
get '/users/:username', to: 'user#get'
put '/users/:username', to: 'user#put'
delete '/users/:username', to: 'user#delete'
post '/tournaments', to: 'tournament#post'
get '/tournaments/:code', to: 'tournament#get'
put '/tournaments/:code', to: 'tournament#put'