You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to add a custom macro that checks if the request came from Turbo Frame, similarly than what we do with the wantsTurboStream() andwasFromTurboNative().
This new one should take an option $id param. When nothing is passed to it, should return true if there's a Turbo-Frame header in the request. When an $id param is given, it should also check if the value of the Turbo-Frame header is equal to the given $id. Otherwise, it returns false.
The text was updated successfully, but these errors were encountered:
We need to add a custom macro that checks if the request came from Turbo Frame, similarly than what we do with the
wantsTurboStream()
andwasFromTurboNative()
.This new one should take an option
$id
param. When nothing is passed to it, should return true if there's aTurbo-Frame
header in the request. When an$id
param is given, it should also check if the value of theTurbo-Frame
header is equal to the given$id
. Otherwise, it returns false.The text was updated successfully, but these errors were encountered: