forked from deblan/gist
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
home:
|
|
path: /
|
|
defaults: {_controller: Gist\Controller\EditController::createAction, _locale: en}
|
|
|
|
clone:
|
|
path: /clone/{gist}/{commit}
|
|
defaults: {_controller: Gist\Controller\EditController::cloneAction, _locale: en, commit: 0}
|
|
|
|
view:
|
|
path: /view/{gist}/{commit}
|
|
defaults: {_controller: Gist\Controller\ViewController::viewAction, _locale: en, commit: 0}
|
|
|
|
embed:
|
|
path: /embed/{gist}/{commit}
|
|
defaults: {_controller: Gist\Controller\ViewController::embedAction, _locale: en, commit: 0}
|
|
|
|
embedjs:
|
|
path: /embedjs/{gist}/{commit}
|
|
defaults: {_controller: Gist\Controller\ViewController::embedJsAction, _locale: en, commit: 0}
|
|
|
|
raw:
|
|
path: /raw/{gist}/{commit}
|
|
defaults: {_controller: Gist\Controller\ViewController::rawAction, _locale: en, commit: 0}
|
|
|
|
download:
|
|
path: /download/{gist}/{commit}
|
|
defaults: {_controller: Gist\Controller\ViewController::downloadAction, _locale: en, commit: 0}
|
|
|
|
revisions:
|
|
path: /revs/{gist}
|
|
defaults: {_controller: Gist\Controller\ViewController::revisionsAction, _locale: en}
|
|
|
|
api_create:
|
|
path: /api/create
|
|
defaults: {_controller: Gist\Controller\ApiController::createAction, _locale: en}
|