aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2008-11-19 14:00:16 +0100
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-11-19 14:00:16 +0100
commit130fe74d17404e5c06353526c7b20beb4019cb69 (patch)
treead15653d1f1ab20151d4bdc934106e8f857d08f7 /actionpack/test/fixtures
parent0c9f677e7861ef2aae36d91811d72794e4709f58 (diff)
downloadrails-130fe74d17404e5c06353526c7b20beb4019cb69.tar.gz
rails-130fe74d17404e5c06353526c7b20beb4019cb69.tar.bz2
rails-130fe74d17404e5c06353526c7b20beb4019cb69.zip
Changed the default of ActionView#render to assume partials instead of files when not given an options hash [DHH]
Diffstat (limited to 'actionpack/test/fixtures')
-rw-r--r--actionpack/test/fixtures/test/hello.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/fixtures/test/hello.builder b/actionpack/test/fixtures/test/hello.builder
index 86a8bb3d7b..a471553941 100644
--- a/actionpack/test/fixtures/test/hello.builder
+++ b/actionpack/test/fixtures/test/hello.builder
@@ -1,4 +1,4 @@
xml.html do
xml.p "Hello #{@name}"
- xml << render("test/greeting")
+ xml << render(:file => "test/greeting")
end \ No newline at end of file