Remove unnecessary design_doc_fresh test
This commit is contained in:
parent
d672d5f8d4
commit
55271490e8
|
@ -12,9 +12,6 @@ module CouchRest
|
||||||
# name of the current class. Take the standard set of
|
# name of the current class. Take the standard set of
|
||||||
# CouchRest::Database#view options.
|
# CouchRest::Database#view options.
|
||||||
def all(opts = {}, &block)
|
def all(opts = {}, &block)
|
||||||
unless design_doc_fresh
|
|
||||||
refresh_design_doc
|
|
||||||
end
|
|
||||||
view(:all, opts, &block)
|
view(:all, opts, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue