docs
This commit is contained in:
parent
23aafc1d50
commit
ebfda803c8
|
@ -311,7 +311,7 @@ module CouchRest
|
|||
end
|
||||
end
|
||||
|
||||
# returns true if the there is a view named this in the design doc
|
||||
# returns stored defaults if the there is a view named this in the design doc
|
||||
def has_view?(view)
|
||||
view = view.to_s
|
||||
if generated_design_doc['views'][view]
|
||||
|
|
Loading…
Reference in a new issue