X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/49d5c686005fcf784c3633eacbcd18940f904060..5fa0aebe9fee869a4a988859dd454a28ee451b97:/app/controllers/errors_controller.rb diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb new file mode 100644 index 000000000..465194ef9 --- /dev/null +++ b/app/controllers/errors_controller.rb @@ -0,0 +1,15 @@ +class ErrorsController < ApplicationController + layout "error" + + def forbidden + render :status => :forbidden + end + + def not_found + render :status => :not_found + end + + def internal_server_error + render :status => :internal_server_error + end +end