Sha256: 69ded0dc71b9a22748a108c4cf3537f3f9699867cf44f46f488474aa3034704b

Contents?: true

Size: 498 Bytes

Versions: 17

Compression:

Stored size: 498 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"
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc10 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc9 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc8 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc7 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc6 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc5 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc4 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc3 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.rc1 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.beta12 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.beta11 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.beta10 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.beta9 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.beta8 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.beta7 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.beta6 app/controllers/renalware/system/errors_controller.rb
renalware-core-2.0.0.pre.beta5 app/controllers/renalware/system/errors_controller.rb