document_index:
    path:     /
    defaults: { _controller: "AppBundle:Document:index" }
    methods:  GET

document_show:
    path:     /{id}/show
    defaults: { _controller: "AppBundle:Document:show" }
    methods:  GET

document_new:
    path:     /new
    defaults: { _controller: "AppBundle:Document:new" }
    methods:  [GET, POST]

document_edit:
    path:     /{id}/edit
    defaults: { _controller: "AppBundle:Document:edit" }
    methods:  [GET, POST]

document_delete:
    path:     /{id}/delete
    defaults: { _controller: "AppBundle:Document:delete" }
    methods:  DELETE

documentApplicationDelete:
    path:     /delete/{documentId}/{applicationId}
    defaults: { _controller: "AppBundle:Document:documentApplicationDelete" }
    methods:  GET

document_change_status:
    path:     /changeStatus/{documentId}/{statusId}
    defaults: { _controller: "AppBundle:Document:changeStatus" }
    methods:  GET