Sha256: 354290a8244e9896ff4b710e3167c6bcdab984417e187d668a8d71d1d3b16142
Contents?: true
Size: 640 Bytes
Versions: 17
Compression:
Stored size: 640 Bytes
Contents
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
17 entries across 17 versions & 1 rubygems