Sha256: f2f0c51cc1cad37b78adc0a74ee53feb0065c3559040b762d91914156e4cbf76

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

module Aeternitas
  module WebUi
    class ApplicationController < ActionController::Base
      protect_from_forgery with: :exception

      def render_error(status, message)
        @status = status
        @message = message
        render template: 'aeternitas/web_ui/dashboard/error', status: status
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aeternitas_web_ui-0.1.0 app/controllers/aeternitas/web_ui/application_controller.rb