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
|
||||
# CouchRest::Database#view options.
|
||||
def all(opts = {}, &block)
|
||||
unless design_doc_fresh
|
||||
refresh_design_doc
|
||||
end
|
||||
view(:all, opts, &block)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue