mirror of
https://github.com/discourse/discourse.git
synced 2025-04-30 08:54:37 +08:00
remove /error endpoint
This commit is contained in:
parent
90dfc96206
commit
7783ba46fc
@ -12,10 +12,6 @@ class ForumsController < ApplicationController
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def error
|
|
||||||
raise "WAT - #{Time.now}"
|
|
||||||
end
|
|
||||||
|
|
||||||
def home_redirect
|
def home_redirect
|
||||||
redirect_to path('/')
|
redirect_to path('/')
|
||||||
end
|
end
|
||||||
|
@ -590,7 +590,6 @@ Discourse::Application.routes.draw do
|
|||||||
|
|
||||||
get "onebox" => "onebox#show"
|
get "onebox" => "onebox#show"
|
||||||
|
|
||||||
get "error" => "forums#error"
|
|
||||||
get "exception" => "list#latest"
|
get "exception" => "list#latest"
|
||||||
|
|
||||||
get "message-bus/poll" => "message_bus#poll"
|
get "message-bus/poll" => "message_bus#poll"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user