mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 00:02:05 -05:00
af467a1675
in such cases EVERY row is materialized and only after the limit is applied. So ... imagine what happens on a forum with 2,000,000 topics
9 lines
214 B
Ruby
9 lines
214 B
Ruby
class ExceptionsController < ApplicationController
|
|
skip_before_filter :check_xhr, :preload_json
|
|
|
|
def not_found
|
|
# centralize all rendering of 404 into app controller
|
|
raise Discourse::NotFound
|
|
end
|
|
|
|
end
|