Module: InertiaRails::InertiaRequest
- Defined in:
- lib/patches/request.rb
Instance Method Summary collapse
Instance Method Details
#inertia? ⇒ Boolean
5 6 7 |
# File 'lib/patches/request.rb', line 5 def inertia? key? 'HTTP_X_INERTIA' end |
#inertia_partial? ⇒ Boolean
9 10 11 |
# File 'lib/patches/request.rb', line 9 def inertia_partial? key?('HTTP_X_INERTIA_PARTIAL_COMPONENT') end |