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 --- src/Wallabag/CommentBundle/Resources/config/routing.yml | 0 src/Wallabag/CommentBundle/Resources/config/routing_comments.yml | 4 ++++ src/Wallabag/CommentBundle/Resources/config/services.yml | 4 ++++ 3 files changed, 8 insertions(+) create mode 100644 src/Wallabag/CommentBundle/Resources/config/routing.yml create mode 100644 src/Wallabag/CommentBundle/Resources/config/routing_comments.yml create mode 100644 src/Wallabag/CommentBundle/Resources/config/services.yml (limited to 'src/Wallabag/CommentBundle/Resources/config') diff --git a/src/Wallabag/CommentBundle/Resources/config/routing.yml b/src/Wallabag/CommentBundle/Resources/config/routing.yml new file mode 100644 index 00000000..e69de29b diff --git a/src/Wallabag/CommentBundle/Resources/config/routing_comments.yml b/src/Wallabag/CommentBundle/Resources/config/routing_comments.yml new file mode 100644 index 00000000..1d3893d3 --- /dev/null +++ b/src/Wallabag/CommentBundle/Resources/config/routing_comments.yml @@ -0,0 +1,4 @@ +annotations: + type: rest + resource: "WallabagCommentBundle:WallabagComment" + name_prefix: annotations_ diff --git a/src/Wallabag/CommentBundle/Resources/config/services.yml b/src/Wallabag/CommentBundle/Resources/config/services.yml new file mode 100644 index 00000000..0e7972a4 --- /dev/null +++ b/src/Wallabag/CommentBundle/Resources/config/services.yml @@ -0,0 +1,4 @@ +services: +# wallabag_comment.example: +# class: Wallabag\CommentBundle\Example +# arguments: ["@service_id", "plain_value", %parameter%] -- cgit v1.2.3