summaryrefslogtreecommitdiffstats
path: root/app/views/issue_relations/show.api.rsb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-05 16:47:34 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-07-05 16:47:34 +0000
commit42f9dc7d2c5ac27b538ad5f33fcb132437ed5975 (patch)
treee69bf7daf18819f26779cd267c300a7e669eee65 /app/views/issue_relations/show.api.rsb
parent852cb183b184f65e352f2619250782f6de7dbfd9 (diff)
downloadredmine-42f9dc7d2c5ac27b538ad5f33fcb132437ed5975.tar.gz
redmine-42f9dc7d2c5ac27b538ad5f33fcb132437ed5975.zip
Makes relations resource shallow (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_relations/show.api.rsb')
-rw-r--r--app/views/issue_relations/show.api.rsb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issue_relations/show.api.rsb b/app/views/issue_relations/show.api.rsb
index 0a3e2918a..bffad94ab 100644
--- a/app/views/issue_relations/show.api.rsb
+++ b/app/views/issue_relations/show.api.rsb
@@ -2,6 +2,6 @@ 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.relation_type @relation.relation_type
api.delay @relation.delay
end