remove /error endpoint

This commit is contained in:
Régis Hanol 2016-04-11 20:43:24 +02:00
parent 90dfc96206
commit 7783ba46fc
2 changed files with 0 additions and 5 deletions

View file

@ -12,10 +12,6 @@ class ForumsController < ApplicationController
end
end
def error
raise "WAT - #{Time.now}"
end
def home_redirect
redirect_to path('/')
end

View file

@ -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"