mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
add tip on keeping backwards compatibility
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user