openstreetmap-website/app/controllers/errors_controller.rb
2018-08-01 19:13:04 +01:00

15 lines
260 B
Ruby

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