Allow editing documents from view

Closes COUCHDB-2494
missing semicolon