mirror of
https://github.com/discourse/discourse.git
synced 2025-03-25 09:20:10 +08:00
Update config/routes.rb
Facebook and Twitter controllers are no longer defined.
This commit is contained in:
parent
ea861ebb57
commit
c6eeffec3b
@ -118,12 +118,6 @@ Discourse::Application.routes.draw do
|
|||||||
match "/auth/:provider/callback", to: "users/omniauth_callbacks#complete"
|
match "/auth/:provider/callback", to: "users/omniauth_callbacks#complete"
|
||||||
match "/auth/failure", to: "users/omniauth_callbacks#failure"
|
match "/auth/failure", to: "users/omniauth_callbacks#failure"
|
||||||
|
|
||||||
get 'twitter/frame' => 'twitter#frame'
|
|
||||||
get 'twitter/complete' => 'twitter#complete'
|
|
||||||
|
|
||||||
get 'facebook/frame' => 'facebook#frame'
|
|
||||||
get 'facebook/complete' => 'facebook#complete'
|
|
||||||
|
|
||||||
resources :clicks do
|
resources :clicks do
|
||||||
collection do
|
collection do
|
||||||
get 'track'
|
get 'track'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user