diff options
author | Jamis Buck <jamis@37signals.com> | 2005-06-01 13:39:58 +0000 |
---|---|---|
committer | Jamis Buck <jamis@37signals.com> | 2005-06-01 13:39:58 +0000 |
commit | e4c047e4891c446024e35548e872704d132ad2f7 (patch) | |
tree | 0086e3c6c70d3276aeef027aac126bb3ea7d2220 /actionpack/CHANGELOG | |
parent | 46e68538c08d751554b2c6f512659993ef62c218 (diff) | |
download | rails-e4c047e4891c446024e35548e872704d132ad2f7.tar.gz rails-e4c047e4891c446024e35548e872704d132ad2f7.tar.bz2 rails-e4c047e4891c446024e35548e872704d132ad2f7.zip |
render(:action) and render() are the only two render calls to use a layout by default. All others default to :layout => false. Also, allow :layout => true to be a synonym for :layout => nil.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 6597a2b63a..5923f0c6f8 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,10 +1,10 @@ *SVN* -* render(:inline) always defaults to :layout => false. +* render(:layout => true) is a synonym for render(:layout => nil) * Make sure the benchmarking render method always returns the output of the render. -* render(:text), render(:partial), and render(:nothing) always default to :layout => false. This also fixes send_file, which was applying a layout if one existed for the current action. +* render(:action) and render() are the only two calls that default to using a layout. All other render calls assume :layout => false. This also fixes send_file, which was applying a layout if one existed for the current action. * verify with :redirect_to won't redirect if a redirect or render has already been performed #1350 |