Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-25 13:20:52 +0300
committerPhil Hughes <me@iamphill.com>2017-05-25 13:20:52 +0300
commit625d3442061d102f7020ef322c2c2febafc891aa (patch)
tree49e24dcf7f1fbc2664c8695a422cc3cdf61e8c53 /app/serializers
parentf452cb7733c1659c5c8de7f2b9fa7bc2bf077db7 (diff)
renamed path to web_url in endpoint
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/issue_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/issue_entity.rb b/app/serializers/issue_entity.rb
index 6bc8d0f70c3..35df95549b7 100644
--- a/app/serializers/issue_entity.rb
+++ b/app/serializers/issue_entity.rb
@@ -10,7 +10,7 @@ class IssueEntity < IssuableEntity
expose :milestone, using: API::Entities::Milestone
expose :labels, using: LabelEntity
- expose :path do |issue|
+ expose :web_url do |issue|
namespace_project_issue_path(issue.project.namespace, issue.project, issue)
end
end