aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb')
-rw-r--r--actionview/test/fixtures/actionpack/layouts/partial_with_layout.erb3
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