class ErrorsController < ApplicationController
  def not_found
    render status: 404
  end

  def unacceptable
    render status: 422
  end

  def internal_error
    render status: 500
  end

end
Create error controller for custom status code templates
Create error controller for custom status code templates
