Remove unnecessary design_doc_fresh test

This commit is contained in:
Brian Candler 2009-03-28 22:19:32 +00:00 committed by Matt Aimonetti
parent d672d5f8d4
commit 55271490e8

View file

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