application_index:
    path:     /
    defaults: { _controller: "AppBundle:Application:index" }
    methods:  GET

application_show:
    path:     /{id}/show
    defaults: { _controller: "AppBundle:Application:show" }
    methods:  GET

application_change_status:
    path:     /changeStatus/{applicationId}/{statusId}
    defaults: { _controller: "AppBundle:Application:changeStatus" }
    methods:  GET

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

application_sendMail:
    path:     /sendMail
    defaults: { _controller: "AppBundle:Application:sendMail" }
    methods:  POST

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

application_delete:
    path:     /{id}/delete
    defaults: { _controller: "AppBundle:Application:delete" }
    methods:  DELETE
