instance method
stale_when_importmap_changes
Ruby on Rails 2.1.0
Since v2.1.0 Last seen in v2.2.3Available in: v2.1.0 v2.2.3
Signature
stale_when_importmap_changes()
No documentation comment.
Source
# File app/controllers/importmap/freshness.rb, line 2
def stale_when_importmap_changes
etag { Rails.application.importmap.digest(resolver: helpers) if request.format&.html? }
end
Defined in app/controllers/importmap/freshness.rb line 2
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Importmap::Freshness