mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
#2036: Change empty XML responses to have the correct base element
This commit is contained in:
parent
addc3b5513
commit
b9a80a385e
6 changed files with 13 additions and 13 deletions
|
|
@ -9,7 +9,7 @@ class NotesController < ApplicationController
|
|||
@source_view = 'note_list'
|
||||
respond_to do |format|
|
||||
format.html
|
||||
format.xml { render :xml => @all_notes.to_xml( :except => :user_id ) }
|
||||
format.xml { render :xml => @all_notes.to_xml(:root => :notes, :except => :user_id ) }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue