diff options
author | Nikolay Shebanov <nikolay.shebanov@gmail.com> | 2014-12-09 01:13:40 +0100 |
---|---|---|
committer | Nikolay Shebanov <nikolay.shebanov@gmail.com> | 2014-12-19 13:52:12 +0100 |
commit | f02a35b86efea24f1e2ab684bc8081ced5eb3b1a (patch) | |
tree | b971a3794c350f209aba4ba2a8bdc3433f317120 /actionview/test/fixtures | |
parent | 10e989b76df1a833f9da22598c1a368777374a01 (diff) | |
download | rails-f02a35b86efea24f1e2ab684bc8081ced5eb3b1a.tar.gz rails-f02a35b86efea24f1e2ab684bc8081ced5eb3b1a.tar.bz2 rails-f02a35b86efea24f1e2ab684bc8081ced5eb3b1a.zip |
Make possible to use blocks with short version of render partial
Diffstat (limited to 'actionview/test/fixtures')
-rw-r--r-- | actionview/test/fixtures/test/_partial_shortcut_with_block_content.html.erb | 3 |
1 files changed, 3 insertions, 0 deletions
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 %> |