lib/redmine_rest/models/project.rb in redmine_rest-0.3.0 vs lib/redmine_rest/models/project.rb in redmine_rest-0.4.0
- old
+ new
@@ -1,12 +1,15 @@
require 'active_resource'
+require_relative 'collections/project'
+
module RedmineRest
module Models
#
# Project model
#
class Project < ActiveResource::Base
self.format = :xml
+ self.collection_parser = Collections::Project
end
end
end