Sha256: 9be80f2f5f076b8d11be7a8556978df3e592894f963185022fd4901ba9ecfd33
Contents?: true
Size: 697 Bytes
Versions: 123
Compression:
Stored size: 697 Bytes
Contents
# frozen_string_literal: true module Renalware module System class ErrorsController < ApplicationController layout "renalware/layouts/error" def not_found render status: :not_found, formats: [:html] end def internal_server_error render status: :internal_server_error, 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
123 entries across 123 versions & 1 rubygems