diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 00:02:22 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 00:05:41 +0200 |
commit | ee32248f43baef7e995c9e420cd00a137e626cf0 (patch) | |
tree | e8119e417887b3132bc7c448a7591943c90dcab2 /app/config/routing.yml | |
parent | b0da721a5238ece3056ae7af760e9455f7af3e11 (diff) | |
download | wallabag-ee32248f43baef7e995c9e420cd00a137e626cf0.tar.gz wallabag-ee32248f43baef7e995c9e420cd00a137e626cf0.tar.zst wallabag-ee32248f43baef7e995c9e420cd00a137e626cf0.zip |
Ensure access_token are removed
When we remove the client, we should ensure that access_token are also removed.
To ensure that, I created a test that generated an access_token. So when we remove the client, this association should be cascaded and shouldn’t generate an error.
Also I moved some Api related stuff to the ApiBundle (like the developer controler and ClientType form)
Diffstat (limited to 'app/config/routing.yml')
-rw-r--r-- | app/config/routing.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/config/routing.yml b/app/config/routing.yml index 2be74d7f..750ed435 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml | |||
@@ -13,6 +13,11 @@ wallabag_user: | |||
13 | prefix: /users | 13 | prefix: /users |
14 | 14 | ||
15 | wallabag_api: | 15 | wallabag_api: |
16 | resource: "@WallabagApiBundle/Controller/" | ||
17 | type: annotation | ||
18 | prefix: / | ||
19 | |||
20 | wallabag_api: | ||
16 | resource: "@WallabagApiBundle/Resources/config/routing.yml" | 21 | resource: "@WallabagApiBundle/Resources/config/routing.yml" |
17 | prefix: / | 22 | prefix: / |
18 | 23 | ||