summaryrefslogtreecommitdiffhomepage
path: root/config/routes.rb
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2024-04-14 21:53:27 -0400
committerrealtradam <[email protected]>2024-04-14 21:53:27 -0400
commit425939bc7d49436dea66dcb88fce2e22ad6e64e4 (patch)
treef8879ca7a5aa7eb2f99b12c2fbe43e50b64a54e3 /config/routes.rb
parent5d6c31ab4b3b6b663485021c697a41e2a2531b9c (diff)
downloadgameHolster-425939bc7d49436dea66dcb88fce2e22ad6e64e4.tar.gz
gameHolster-425939bc7d49436dea66dcb88fce2e22ad6e64e4.zip
implement basic authflow with github
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 5025b1b..d164474 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -5,6 +5,9 @@ Rails.application.routes.draw do
post 'blogs/create', to: 'blog#create'
get '/show/:id', to: 'blog#show'
delete '/destroy/:id', to: 'blog#destroy'
+
+ get 'auth/callback', to: 'auth#callback'
+ get 'auth/data', to: 'auth#data'
end
end
root 'homepage#index'