gist/app/config/routing.yml

24 lines
782 B
YAML
Raw Normal View History

2015-05-05 20:33:05 +02:00
home:
path: /
2015-05-06 22:24:42 +02:00
defaults: {_controller: Gist\Controller\EditController::createAction, _locale: en}
2015-05-06 20:35:30 +02:00
2015-05-07 14:10:23 +02:00
clone:
path: /clone/{gist}/{commit}
defaults: {_controller: Gist\Controller\EditController::cloneAction, _locale: en, commit: 0}
2015-05-06 20:35:30 +02:00
view:
2015-05-07 00:51:52 +02:00
path: /view/{gist}/{commit}
2015-05-06 22:24:42 +02:00
defaults: {_controller: Gist\Controller\ViewController::viewAction, _locale: en, commit: 0}
2015-05-07 00:51:52 +02:00
2015-05-07 13:38:24 +02:00
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}
2015-05-07 00:51:52 +02:00
revisions:
path: /revs/{gist}
defaults: {_controller: Gist\Controller\ViewController::revisionsAction, _locale: en}