mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Add default OAuths (#259)
This commit is contained in:
committed by
GitHub
parent
0828c9c879
commit
653e139a9e
@@ -29,6 +29,7 @@ Rails.application.routes.draw do
|
||||
resources :o_auths, only: [:index, :create, :update, :destroy]
|
||||
get '/o_auths/:id/start', to: 'o_auths#start', as: :o_auth_start
|
||||
get '/o_auths/:id/callback', to: 'o_auths#callback', as: :o_auth_callback
|
||||
get '/o_auths/sign_in_from_oauth_token', to: 'o_auths#sign_in_from_oauth_token', as: :o_auth_sign_in_from_oauth_token
|
||||
|
||||
resources :posts, only: [:index, :create, :show, :update, :destroy] do
|
||||
resource :follows, only: [:create, :destroy]
|
||||
|
||||
Reference in New Issue
Block a user