Set format for activeresource client in reposman.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7955 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d3a2564964
commit
5946a941e0
|
@ -182,6 +182,7 @@ end
|
|||
|
||||
class Project < ActiveResource::Base
|
||||
self.headers["User-agent"] = "Redmine repository manager/#{Version}"
|
||||
self.format = :xml
|
||||
end
|
||||
|
||||
log("querying Redmine for projects...", :level => 1);
|
||||
|
|
Loading…
Reference in New Issue