mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
10 lines
199 B
Ruby
10 lines
199 B
Ruby
class ExceptionsController < ApplicationController
|
|
skip_before_filter :check_xhr
|
|
|
|
def not_found
|
|
# centralize all rendering of 404 into app controller
|
|
raise Discourse::NotFound
|
|
end
|
|
|
|
end
|