From f02a35b86efea24f1e2ab684bc8081ced5eb3b1a Mon Sep 17 00:00:00 2001 From: Nikolay Shebanov Date: Tue, 9 Dec 2014 01:13:40 +0100 Subject: Make possible to use blocks with short version of render partial --- .../test/fixtures/test/_partial_shortcut_with_block_content.html.erb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 actionview/test/fixtures/test/_partial_shortcut_with_block_content.html.erb (limited to 'actionview/test/fixtures') diff --git a/actionview/test/fixtures/test/_partial_shortcut_with_block_content.html.erb b/actionview/test/fixtures/test/_partial_shortcut_with_block_content.html.erb new file mode 100644 index 0000000000..352128f3ba --- /dev/null +++ b/actionview/test/fixtures/test/_partial_shortcut_with_block_content.html.erb @@ -0,0 +1,3 @@ +<%= render "test/layout_for_block_with_args" do |arg_1, arg_2| %> + Yielded: <%= arg_1 %>/<%= arg_2 %> +<% end %> -- cgit v1.2.3