wallabag/app/config/routing.yml

33 lines
661 B
YAML
Raw Normal View History

2015-03-29 08:53:10 +00:00
wallabag_api:
resource: "@WallabagApiBundle/Resources/config/routing.yml"
prefix: /
2015-01-22 07:30:07 +00:00
app:
resource: @WallabagCoreBundle/Controller/
2015-01-22 07:30:07 +00:00
type: annotation
2015-01-23 13:58:17 +00:00
doc-api:
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
prefix: /api/doc
2015-01-31 14:14:10 +00:00
login:
pattern: /login
defaults: { _controller: WallabagCoreBundle:Security:login }
2015-01-31 14:14:10 +00:00
login_check:
pattern: /login_check
2015-01-31 14:14:10 +00: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+