diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-02-07 16:52:59 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-02-26 18:13:17 +0100 |
commit | f38e03dc02c96344677fd2720912605b21c90b5d (patch) | |
tree | 2028cecf5d0930e1569ddb977e245ea44bedc38a /src/Wallabag/CommentBundle/Resources/config | |
parent | d3f1a9dc1ac181033ec54f9149d2807199fa8f17 (diff) | |
download | wallabag-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')
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 @@ | |||
1 | annotations: | ||
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 @@ | |||
1 | services: | ||
2 | # wallabag_comment.example: | ||
3 | # class: Wallabag\CommentBundle\Example | ||
4 | # arguments: ["@service_id", "plain_value", %parameter%] | ||