mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-09 17:14:20 +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
|
|
@ -20,7 +20,7 @@ class CalendarController < ApplicationController
|
|||
render :action => 'show', :layout => false, :content_type => Mime[:ics]
|
||||
}
|
||||
format.xml {
|
||||
render :xml => @due_all.to_xml( *todo_xml_params )
|
||||
render :xml => @due_all.to_xml( *[todo_xml_params[0].merge({:root => :todos})] )
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue