diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-04 17:03:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-04 17:03:04 +0000 |
commit | 21b37187445f03c9395f5fc36b5bd1a42d99d980 (patch) | |
tree | e2e8b947d3c3b453b5be0a08e5a06e4e57d5a65a /app/views/issue_relations | |
parent | 9fca4c440cbcf21a93db943b67acba68b83cf051 (diff) | |
download | redmine-21b37187445f03c9395f5fc36b5bd1a42d99d980.tar.gz redmine-21b37187445f03c9395f5fc36b5bd1a42d99d980.zip |
Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_relations')
-rw-r--r-- | app/views/issue_relations/show.api.rsb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/issue_relations/show.api.rsb b/app/views/issue_relations/show.api.rsb new file mode 100644 index 000000000..0a3e2918a --- /dev/null +++ b/app/views/issue_relations/show.api.rsb @@ -0,0 +1,7 @@ +api.relation do + api.id @relation.id + api.issue_id @relation.issue_from_id + api.issue_to_id @relation.issue_to_id + api.relation_type @relation.relation_type_for(@issue) + api.delay @relation.delay +end |