wallabag/app/config/routing.yml

39 lines
834 B
YAML
Raw Normal View History

2015-03-29 10:53:10 +02:00
wallabag_api:
resource: "@WallabagApiBundle/Resources/config/routing.yml"
prefix: /
2015-01-22 08:30:07 +01:00
app:
resource: @WallabagCoreBundle/Controller/
2015-01-22 08:30:07 +01:00
type: annotation
2015-01-23 14:58:17 +01:00
doc-api:
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
prefix: /api/doc
2015-01-31 15:14:10 +01:00
login:
pattern: /login
defaults: { _controller: WallabagCoreBundle:Security:login }
2015-01-31 15:14:10 +01:00
login_check:
pattern: /login_check
2015-01-31 15:14:10 +01:00
logout:
path: /logout
rest :
type : rest
resource : "routing_rest.yml"
prefix : /api
homepage:
pattern: "/{page}"
defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
requirements:
page: \d+
fos_user:
resource: "@FOSUserBundle/Resources/config/routing/all.xml"
fos_oauth_server_token:
resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml"