rails--rails/actionview/test/fixtures/layouts/streaming_with_capture.erb

7 lines
124 B
Plaintext

<%= yield :header -%>
<%= capture do %>
this works
<% end %>
<%= yield :footer -%>
<%= yield(:unknown).presence || "." -%>