end
# Render the result
- respond_to do |format|
- format.xml
- end
+ render formats: [:xml]
end
def version
response.last_modified = @old_element.timestamp
# Render the result
- respond_to do |format|
- format.xml
- end
+ render formats: [:xml]
end
end