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

Version Path
renalware-core-2.0.16 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.15 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.14 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.13 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.12 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.11 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.9 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.8 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.7 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.5 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.4 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.3 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.2 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.1 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc13 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc11 app/controllers/renalware/system/errors_controller.rb