diff options
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 786c21d..7d8a766 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,15 +1,24 @@ Rails.application.routes.draw do namespace :api do namespace :v1 do + resources :games + + # USERS get 'users/index', to: 'users#index' #get 'users/new' #get 'users/create' #get 'users/delete' + + # GAMES + + + # BLOGS get 'blogs/index', to: 'blog#index' post 'blogs/create', to: 'blog#create' get '/show/:id', to: 'blog#show' delete '/destroy/:id', to: 'blog#destroy' + # AUTH get 'auth/callback', to: 'auth#callback' get 'auth/data', to: 'auth#data' end |
