Sha256: 8ad3ba14ef4a5a59ff84ae4d650f34c15f0b6255357cc752ebe16fbb026c736e
Contents?: true
Size: 671 Bytes
Versions: 19
Compression:
Stored size: 671 Bytes
Contents
# frozen_string_literal: true module Renalware module System class ErrorsController < ApplicationController layout "renalware/layouts/error" def not_found render status: 404, formats: [:html] end def internal_server_error render status: 500, formats: [:html] end def generate_test_internal_server_error raise "This is an intentionally raised error - please ignore it. " \ "It is used only to test system integration. " \ "The rest of this messages is padding to test that the title is truncated to 256 " \ "characters#{'.' * 100}" end end end end
Version data entries
19 entries across 19 versions & 1 rubygems