From f38e03dc02c96344677fd2720912605b21c90b5d Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Sun, 7 Feb 2016 16:52:59 +0100 Subject: Comment work with annotator v2 - add missing annotator.js file and fix typo - edit & delete routes, started tests - basic tests --- app/config/routing.yml | 4 ++++ app/config/routing_rest.yml | 1 + app/config/security.yml | 1 + 3 files changed, 6 insertions(+) (limited to 'app/config') diff --git a/app/config/routing.yml b/app/config/routing.yml index c491d35d..8fbcb643 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,3 +1,7 @@ +wallabag_comment: + type : rest + resource: "@WallabagCommentBundle/Resources/config/routing_comments.yml" + wallabag_import: resource: "@WallabagImportBundle/Controller/" type: annotation diff --git a/app/config/routing_rest.yml b/app/config/routing_rest.yml index 0a64ad78..52d395dd 100644 --- a/app/config/routing_rest.yml +++ b/app/config/routing_rest.yml @@ -1,3 +1,4 @@ Rest_Wallabag: type : rest resource: "@WallabagApiBundle/Resources/config/routing_rest.yml" + diff --git a/app/config/security.yml b/app/config/security.yml index 7c10889f..7f05123a 100644 --- a/app/config/security.yml +++ b/app/config/security.yml @@ -58,4 +58,5 @@ security: - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: /(unread|starred|archive).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/settings, roles: ROLE_SUPER_ADMIN } + - { path: ^/annotations, roles: ROLE_USER } - { path: ^/, roles: ROLE_USER } -- cgit v1.2.3 From 4dc872238a61f33c886c423c5812cc578b3b1cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 26 Feb 2016 13:59:08 +0100 Subject: Rename CommentBundle with AnnotationBundle --- app/config/routing.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/config') diff --git a/app/config/routing.yml b/app/config/routing.yml index 8fbcb643..6a6aa6ac 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml @@ -1,6 +1,6 @@ -wallabag_comment: +wallabag_annotation: type : rest - resource: "@WallabagCommentBundle/Resources/config/routing_comments.yml" + resource: "@WallabagAnnotationBundle/Resources/config/routing_annotations.yml" wallabag_import: resource: "@WallabagImportBundle/Controller/" -- cgit v1.2.3