instance method turbo_exempts_page_from_preview

Ruby on Rails 1.5.0

Since v1.3.3 Last seen in v2.0.23

Available in: v1.3.3 v1.4.0 v1.5.0 v2.0.23

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close