aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2007-04-08 17:18:10 +0000
committerRick Olson <technoweenie@gmail.com>2007-04-08 17:18:10 +0000
commitda336c1cadb6f2ec279e9ed63f3b91535d4b774c (patch)
tree985247455217f86652b24446230640736cd22cc7
parente0f834267642c526299189916ad9c97318c1b121 (diff)
downloadrails-da336c1cadb6f2ec279e9ed63f3b91535d4b774c.tar.gz
rails-da336c1cadb6f2ec279e9ed63f3b91535d4b774c.tar.bz2
rails-da336c1cadb6f2ec279e9ed63f3b91535d4b774c.zip
add tip on keeping backwards compatibility
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/CHANGELOG8
1 files changed, 8 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 018a720c94..ceee5e72d1 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -4,6 +4,14 @@
* Default xml template goes from #{action_name}.rxml => #{action_name}.xml.builder.
* Default rjs template goes from #{action_name}.rjs => #{action_name}.js.rjs.
+
+ You can still specify your old templates:
+
+ respond_to do |format|
+ format.xml do
+ render :action => "#{action_name}.rxml"
+ end
+ end
* Fix WSOD due to modification of a formatted template extension so that requests to templates like 'foo.html.erb' fail on the second hit. [Rick]