projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix border spacing for sidebar tags and routing tables
[rails.git]
/
app
/
controllers
/
api
/
old_controller.rb
diff --git
a/app/controllers/api/old_controller.rb
b/app/controllers/api/old_controller.rb
index 984534b065178e825e997eda86fe63d7f6ca253c..862d14716f9b12e34c25e6629ada8d1b7e16b8e2 100644
(file)
--- a/
app/controllers/api/old_controller.rb
+++ b/
app/controllers/api/old_controller.rb
@@
-30,7
+30,7
@@
module Api
end
# Render the result
- render
formats:
[:xml]
+ render
:formats =>
[:xml]
end
def version
@@
-41,7
+41,7
@@
module Api
response.last_modified = @old_element.timestamp
# Render the result
- render
formats:
[:xml]
+ render
:formats =>
[:xml]
end
end