diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-24 18:29:37 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-24 18:29:37 +0000 |
commit | 82d70d1d16443edc787b2a3acf99dd1ff7f8fdcc (patch) | |
tree | ba04e190c090a03b24dbc98d298cb22ec73932af /actionpack/CHANGELOG | |
parent | b445a74c5e1cdb10333b02515e42b584463ae10b (diff) | |
download | rails-82d70d1d16443edc787b2a3acf99dd1ff7f8fdcc.tar.gz rails-82d70d1d16443edc787b2a3acf99dd1ff7f8fdcc.tar.bz2 rails-82d70d1d16443edc787b2a3acf99dd1ff7f8fdcc.zip |
Added that render :xml will try to call to_xml if it can [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 040d1162ad..9797f24410 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,10 @@ *SVN* +* Added that render :xml will try to call to_xml if it can [DHH]. Makes these work: + + render :xml => post + render :xml => comments + * Added :location option to render so that the common pattern of rendering a response after creating a new resource is now a 1-liner [DHH] render :xml => post.to_xml, :status => :created, :location => post_url(post) |