Sha256: 52fe9fd8bdaf604977c8ca8ee65f79768a81fe654d307bebdc84dda395529e91
Contents?: true
Size: 414 Bytes
Versions: 106
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true # # Capture the exception and give a nice screen to the user instead of a stack track looking one. # class ExceptionsController < ActionController::Base include App47Logger layout 'application' respond_to :html # # Show # def show log_controller_error request.env['action_dispatch.exception'] @xhr = request.headers['HTTP_X_REQUESTED_WITH'].present? end end
Version data entries
106 entries across 106 versions & 1 rubygems