diff --git a/app/controllers/forums_controller.rb b/app/controllers/forums_controller.rb index 1f41e94dd4a..a710d854e8a 100644 --- a/app/controllers/forums_controller.rb +++ b/app/controllers/forums_controller.rb @@ -12,10 +12,6 @@ class ForumsController < ApplicationController end end - def error - raise "WAT - #{Time.now}" - end - def home_redirect redirect_to path('/') end diff --git a/config/routes.rb b/config/routes.rb index 42958644784..2c36cd1a6ab 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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"