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-09 17:42:33 +02:00
|
|
|
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}
|
|
|
|
|
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-11-21 18:28:48 +01:00
|
|
|
register:
|
|
|
|
path: /register
|
2015-11-21 15:04:41 +01:00
|
|
|
defaults: {_controller: Gist\Controller\LoginController::registerAction, _locale: en}
|
|
|
|
|
2015-11-23 21:59:50 +01:00
|
|
|
login:
|
|
|
|
path: /login
|
|
|
|
defaults: {_controller: Gist\Controller\LoginController::loginAction, _locale: en}
|
|
|
|
|
2015-11-21 18:28:48 +01:00
|
|
|
_login:
|
|
|
|
path: /login
|
|
|
|
defaults: {_controller: Gist\Controller\LoginController::loginAction, _locale: en}
|
|
|
|
|
2015-11-23 21:59:50 +01:00
|
|
|
login_check:
|
2015-11-23 11:53:24 +01:00
|
|
|
path: /login_check
|
2015-11-21 18:28:48 +01:00
|
|
|
|
2015-11-23 20:28:09 +01:00
|
|
|
logout:
|
|
|
|
path: /my/logout
|
2015-11-21 18:28:48 +01:00
|
|
|
|
|
|
|
my:
|
2016-06-18 16:37:45 +02:00
|
|
|
path: /my/{page}
|
|
|
|
defaults:
|
|
|
|
_controller: Gist\Controller\MyController::myAction
|
|
|
|
_locale: en
|
|
|
|
page: 1
|
|
|
|
requirements:
|
|
|
|
page: \d+
|
2015-11-21 18:28:48 +01:00
|
|
|
|
2015-05-07 00:51:52 +02:00
|
|
|
revisions:
|
|
|
|
path: /revs/{gist}
|
|
|
|
defaults: {_controller: Gist\Controller\ViewController::revisionsAction, _locale: en}
|
2015-07-19 16:45:55 +02:00
|
|
|
|
2017-06-25 19:13:27 +02:00
|
|
|
api_list:
|
|
|
|
path: /api/list/{apiKey}
|
2017-08-23 17:20:23 +02:00
|
|
|
defaults: {_controller: Gist\Controller\ApiController::listAction, _locale: en, apiKey: null}
|
2017-06-25 19:13:27 +02:00
|
|
|
|
2015-07-19 16:45:55 +02:00
|
|
|
api_create:
|
2017-06-25 19:13:27 +02:00
|
|
|
path: /api/create/{apiKey}
|
2017-08-23 17:20:23 +02:00
|
|
|
defaults: {_controller: Gist\Controller\ApiController::createAction, _locale: en, apiKey: null}
|
2015-11-07 22:13:08 +01:00
|
|
|
|
|
|
|
api_update:
|
2017-06-25 19:13:27 +02:00
|
|
|
path: /api/update/{gist}/{apiKey}
|
2017-08-23 17:20:23 +02:00
|
|
|
defaults: {_controller: Gist\Controller\ApiController::updateAction, _locale: en, apiKey: null}
|
2017-08-23 19:32:56 +02:00
|
|
|
|
|
|
|
api_delete:
|
|
|
|
path: /api/delete/{gist}/{apiKey}
|
|
|
|
defaults: {_controller: Gist\Controller\ApiController::deleteAction, _locale: en, apiKey: null}
|