instance method
turbo_exempts_page_from_preview
Ruby on Rails 1.3.3
Since v1.3.3 Last seen in v2.0.23Signature
turbo_exempts_page_from_preview()
Specify that a cached version of the page should not be shown as a preview during an application visit. Cannot be used along with turbo_exempts_page_from_cache.
Source
# File app/helpers/turbo/drive_helper.rb, line 21
def turbo_exempts_page_from_preview
provide :head, tag.meta(name: "turbo-cache-control", content: "no-preview")
end
Defined in app/helpers/turbo/drive_helper.rb line 21
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Turbo::DriveHelper