UNC-Libraries/hy-c

View on GitHub
app/controllers/errors_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true
class ErrorsController < ApplicationController
  def not_found
    render nothing: true, status: 404, formats: :html
  end

  def internal_server_error
    render nothing: true, status: 500, formats: :html
  end
end