mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-17 04:01:29 -05:00
remove /error endpoint
This commit is contained in:
parent
90dfc96206
commit
7783ba46fc
2 changed files with 0 additions and 5 deletions
|
@ -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 a new issue