fix #953 by adding tags to the xml returned by the REST API

This commit is contained in:
Reinier Balt 2011-07-09 17:46:52 +02:00
parent 02d5abd5b8
commit ed2154b94b

View file

@ -230,7 +230,7 @@ class TodosController < ApplicationController
@return_path=cookies[:mobile_url] ? cookies[:mobile_url] : mobile_path
render :action => 'show'
end
format.xml { render :xml => @todo.to_xml( :root => 'todo', :except => :user_id ) }
format.xml { render :xml => @todo.to_xml( :root => 'todo', :except => :user_id, :include => [:tags] ) }
end
end