Sha256: b362d90abc9f4318d2267b63a837f7c833268f02420f42a12f7615f952135a0b
Contents?: true
Size: 359 Bytes
Versions: 13
Compression:
Stored size: 359 Bytes
Contents
module Locomotive module ActionController class PublicResponder < ::ActionController::Responder def navigation_behavior(error) if get? raise error elsif has_errors? && default_action redirect_to navigation_location else redirect_to navigation_location end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems