1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

Adds pagerfanta paginator everywhere, modifies article routing. Change API for is_starred and is_archived

This commit is contained in:
Francois Gravelaine 2015-07-27 23:20:32 +02:00
parent 9b9b05008a
commit 9fb6ac830f
8 changed files with 76 additions and 59 deletions

View file

@ -6,10 +6,6 @@ app:
resource: @WallabagCoreBundle/Controller/
type: annotation
homepage:
pattern: /
defaults: { _controller: WallabagCoreBundle:Entry:showUnread }
doc-api:
resource: "@NelmioApiDocBundle/Resources/config/routing.yml"
prefix: /api/doc
@ -17,8 +13,10 @@ doc-api:
login:
pattern: /login
defaults: { _controller: WallabagCoreBundle:Security:login }
login_check:
pattern: /login_check
logout:
path: /logout
@ -26,3 +24,9 @@ rest :
type : rest
resource : "routing_rest.yml"
prefix : /api
homepage:
pattern: "/{page}"
defaults: { _controller: WallabagCoreBundle:Entry:showUnread, page : 1 }
requirements:
page: \d+