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