2013-02-05 14:16:51 -05:00
|
|
|
class ExceptionsController < ApplicationController
|
|
|
|
skip_before_filter :check_xhr
|
|
|
|
|
|
|
|
def not_found
|
2013-05-19 20:29:49 -04:00
|
|
|
# centralize all rendering of 404 into app controller
|
|
|
|
raise Discourse::NotFound
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|
2013-05-19 20:29:49 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
end
|