Added custom get route for documents/:id/previous-versions
added documents/:id/edit path