Files
openfoodnetwork/app/controllers/errors_controller.rb
2022-08-08 15:36:23 +02:00

18 lines
305 B
Ruby

# frozen_string_literal: true
class ErrorsController < ApplicationController
layout "errors"
def not_found
render status: :not_found
end
def internal_server_error
render status: :internal_server_error
end
def unprocessable_entity
render status: :unprocessable_entity
end
end