Tidy up initialisations of design_doc which are no longer needed

This commit is contained in:
Brian Candler 2009-03-27 20:21:03 +00:00 committed by Matt Aimonetti
parent 266583805c
commit 159a761ad9
2 changed files with 0 additions and 2 deletions

View file

@ -12,7 +12,6 @@ module CouchRest
# name of the current class. Take the standard set of
# CouchRest::Database#view options.
def all(opts = {}, &block)
self.design_doc ||= Design.new(default_design_doc)
unless design_doc_fresh
refresh_design_doc
end