2019-01-19 18:26:28 +00:00
|
|
|
paste_show_public:
|
|
|
|
path: /{id}
|
|
|
|
defaults: { _controller: 'Skobkin\Bundle\CopyPasteBundle\Controller\PasteController::showAction', secret: null }
|
|
|
|
requirements:
|
|
|
|
id: \d+
|
2015-03-02 16:59:13 +00:00
|
|
|
|
2019-01-19 18:26:28 +00:00
|
|
|
paste_show_private:
|
|
|
|
path: /{id}/{secret}
|
|
|
|
defaults: { _controller: 'Skobkin\Bundle\CopyPasteBundle\Controller\PasteController::showAction' }
|
|
|
|
requirements:
|
|
|
|
id: \d+
|
|
|
|
secret: \w{16}
|
|
|
|
|
|
|
|
paste_new:
|
|
|
|
path: /
|
|
|
|
defaults: { _controller: 'Skobkin\Bundle\CopyPasteBundle\Controller\PasteController::newAction' }
|
|
|
|
|
|
|
|
paste_create:
|
|
|
|
path: /create
|
|
|
|
defaults: { _controller: 'Skobkin\Bundle\CopyPasteBundle\Controller\PasteController::createAction' }
|
|
|
|
methods: POST
|