openstreetmap-website/app/controllers/errors_controller.rb

17 lines
288 B
Ruby

class ErrorsController < ApplicationController
layout "error"
skip_authorization_check
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