![](https://railsblueprint.com/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6ImY4NTE4NDQ1LWQwOGItNDAyMy05NWRiLTdhYTQ0NjljYzNiOCIsInB1ciI6ImJsb2JfaWQifX0=--76e31055e5d2edb81a0e661b30176fb4bc3b80bb/4389a5d5610145509fb0f897bfa11236.png)
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?