diff options
Diffstat (limited to 'actionview/test/fixtures/layouts')
-rw-r--r-- | actionview/test/fixtures/layouts/streaming_with_capture.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionview/test/fixtures/layouts/streaming_with_capture.erb b/actionview/test/fixtures/layouts/streaming_with_capture.erb new file mode 100644 index 0000000000..538c19ce3a --- /dev/null +++ b/actionview/test/fixtures/layouts/streaming_with_capture.erb @@ -0,0 +1,6 @@ +<%= yield :header -%> +<%= capture do %> + this works +<% end %> +<%= yield :footer -%> +<%= yield(:unknown).presence || "." -%> |