Module: InertiaRails::Helper
- Defined in:
- lib/inertia_rails/helper.rb
Instance Method Summary collapse
Instance Method Details
#inertia_headers ⇒ Object
8 9 10 11 12 13 |
# File 'lib/inertia_rails/helper.rb', line 8 def inertia_headers InertiaRails.deprecator.warn( "`inertia_headers` is deprecated and will be removed in InertiaRails 4.0, use `inertia_ssr_head` instead." ) inertia_ssr_head end |
#inertia_ssr_head ⇒ Object
4 5 6 |
# File 'lib/inertia_rails/helper.rb', line 4 def inertia_ssr_head controller.instance_variable_get("@_inertia_ssr_head") end |