aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CommentBundle/Resources/config
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-02-07 16:52:59 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-02-26 18:13:17 +0100
commitf38e03dc02c96344677fd2720912605b21c90b5d (patch)
tree2028cecf5d0930e1569ddb977e245ea44bedc38a /src/Wallabag/CommentBundle/Resources/config
parentd3f1a9dc1ac181033ec54f9149d2807199fa8f17 (diff)
downloadwallabag-f38e03dc02c96344677fd2720912605b21c90b5d.tar.gz
wallabag-f38e03dc02c96344677fd2720912605b21c90b5d.tar.zst
wallabag-f38e03dc02c96344677fd2720912605b21c90b5d.zip
Comment work with annotator v2
- add missing annotator.js file and fix typo - edit & delete routes, started tests - basic tests
Diffstat (limited to 'src/Wallabag/CommentBundle/Resources/config')
-rw-r--r--src/Wallabag/CommentBundle/Resources/config/routing.yml0
-rw-r--r--src/Wallabag/CommentBundle/Resources/config/routing_comments.yml4
-rw-r--r--src/Wallabag/CommentBundle/Resources/config/services.yml4
3 files changed, 8 insertions, 0 deletions
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
--- /dev/null
+++ b/src/Wallabag/CommentBundle/Resources/config/routing.yml
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 @@
1annotations:
2 type: rest
3 resource: "WallabagCommentBundle:WallabagComment"
4 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 @@
1services:
2# wallabag_comment.example:
3# class: Wallabag\CommentBundle\Example
4# arguments: ["@service_id", "plain_value", %parameter%]