
Breaking out of turbo-frame
When using turbo-frames all page updates by default are limited to the frame which initiated the request. On frontend you can change target frame by setting
data-turbo-frame
attribute on links (and use _top
to update the whole page). But what if you want to make that decision on backend?