applied patch from nanodeath -- thanks
This commit is contained in:
parent
a0a422b779
commit
139c3253e2
|
@ -439,6 +439,7 @@ module CouchRest
|
||||||
saved['views'][name] = view
|
saved['views'][name] = view
|
||||||
end
|
end
|
||||||
database.save(saved)
|
database.save(saved)
|
||||||
|
self.design_doc = saved
|
||||||
else
|
else
|
||||||
design_doc['_id'] = did
|
design_doc['_id'] = did
|
||||||
design_doc.delete('_rev')
|
design_doc.delete('_rev')
|
||||||
|
|
Loading…
Reference in a new issue