diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-08-05 23:58:20 +0200 |
---|---|---|
committer | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2013-08-25 11:39:13 +0200 |
commit | acc8e25902902a7123fb34aaf143f73a8ef729dd (patch) | |
tree | 33561d31e73b439ac8253348a000b3471c5c9de7 /actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb | |
parent | aa2d0038127f3b0d25e0f9dbb941c6dd0b2714c3 (diff) | |
download | rails-acc8e25902902a7123fb34aaf143f73a8ef729dd.tar.gz rails-acc8e25902902a7123fb34aaf143f73a8ef729dd.tar.bz2 rails-acc8e25902902a7123fb34aaf143f73a8ef729dd.zip |
Move render_test to AV
Diffstat (limited to 'actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb')
-rw-r--r-- | actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb b/actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb new file mode 100644 index 0000000000..a0349d731e --- /dev/null +++ b/actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb @@ -0,0 +1,3 @@ +<%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Anthony' } ) %> +<%= yield %> +<%= render( :layout => "layout_for_partial", :partial => "partial_for_use_in_layout", :locals => {:name => 'Ramm' } ) %>
\ No newline at end of file |