applied patch from nanodeath -- thanks

This commit is contained in:
Chris Anderson 2009-01-19 14:49:48 -08:00
parent a0a422b779
commit 139c3253e2

View file

@ -439,6 +439,7 @@ module CouchRest
saved['views'][name] = view
end
database.save(saved)
self.design_doc = saved
else
design_doc['_id'] = did
design_doc.delete('_rev')