Link_to :back inside turbo-frame

Is there a way to use link_to :back inside a turbo-frame so that one can go to whatever record/page was in that frame before the current record was rendered?