File: cached_capture.html.erb

package info (click to toggle)
ruby-view-component 2.74.1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm
  • size: 3,156 kB
  • sloc: ruby: 6,731; sh: 163; javascript: 10; makefile: 4
file content (5 lines) | stat: -rw-r--r-- 148 bytes parent folder | download
1
2
3
4
5
<% cache ["true"] do %>
  <%= render CapturingComponent.new(message: "message") do %>
    <div class="foo-cached">Hello</div>
  <% end %>
<% end %>