# File lib/action_controller/responder.rb, line 199 def navigation_behavior(error) if get? raise error elsif has_errors? && default_action render rendering_options else redirect_to navigation_location end end