aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorJose Fernandez <joseferper@gmail.com>2010-02-23 18:50:05 +0100
committerwycats <wycats@gmail.com>2010-03-05 08:52:10 -0800
commita04b44910e57387bd1bcfbd95c3a6754a08e77af (patch)
tree4bc3eac717d6ed84db64b78bed044a5ddc3222a5 /actionpack/test/fixtures
parent8da026cb797519deac807721096fab5182ca61af (diff)
downloadrails-a04b44910e57387bd1bcfbd95c3a6754a08e77af.tar.gz
rails-a04b44910e57387bd1bcfbd95c3a6754a08e77af.tar.bz2
rails-a04b44910e57387bd1bcfbd95c3a6754a08e77af.zip
Solved a problem that prevented render :file => work in layouts
Signed-off-by: wycats <wycats@gmail.com>
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/test/layout_render_file.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/fixtures/test/layout_render_file.erb b/actionpack/test/fixtures/test/layout_render_file.erb
new file mode 100644
index 0000000000..2f8e921c5f
--- /dev/null
+++ b/actionpack/test/fixtures/test/layout_render_file.erb
@@ -0,0 +1,2 @@
+<% content_for :title do %>title<% end -%>
+<%= render :file => 'layouts/yield' -%> \ No newline at end of file