Sha256: aa3a7ede6e11cfa379fd83b0cc4e7e92b973957d55951f1f610ec1e94397092c
Contents?: true
Size: 231 Bytes
Versions: 22
Compression:
Stored size: 231 Bytes
Contents
module ExceptionHandler extend ActiveSupport::Concern class HubspotError < StandardError; end included do rescue_from HubspotError do |error| @error = error render template: 'events/index' end end end
Version data entries
22 entries across 22 versions & 1 rubygems