Exception: Cybertrain::Views::OutsideRequest
- Inherits:
-
StandardError
- Object
- StandardError
- Cybertrain::Views::OutsideRequest
- Defined in:
- cybertrain/template/interpreter.rb
Overview
A helper that needs a request (csrf_token, params, …) called while rendering outside one (Views.render_partial, render_component). Defined here, not in cybertrain/views.rb, because Interpreter#call_helper lets it through unchanged (every other helper error gets the template’s “name:line:” prefix and becomes a Template::RuntimeError).