summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-11-03 20:43:24 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-11-03 20:43:24 +0800
commitb0af0ab62fa7b0b64443e510ed388cef83db996d (patch)
tree4c8f383a9e79c8ad747962545a171f6a1c59c51f /app/models
parent9176a19e3d858a6d64a2254260febe000474af6d (diff)
parentca1096e77f1f44089cd8e37e2fe7fa392571542f (diff)
downloadgitlab-ce-b0af0ab62fa7b0b64443e510ed388cef83db996d.tar.gz
Merge remote-tracking branch 'upstream/master' into pipeline-notifications
* upstream/master: (26 commits) Add a `--force` option to bin/changelog Update examples in changelog docs to use single quotes around title Use the server's base URL without relative URL part when creating links in JIRA Make ESLint ignore instrumented files for coverage analysis (!7236) Check that JavaScript file names match convention (!7238) Removed z-index for filters on issue boards GitLab 8.13 not 13 Replace MR Description Format links Fix gdb backtrace command Update gitlab.yml.example remove extra spaces from app/workers/post_receive.rb Add Rake task to create/repair GitLab Shell hooks symlinks Added guide for upgrading Postgres using Slony Ensure hook tokens are write-only in the API Add support for token attr in project hooks API Add a CHANGELOG entry Fix edit button wiki Updated Sortable JS plugin Allow owners to fetch source code in CI builds fixes milestone dropdown not select issue ...
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_services/jira_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_services/jira_service.rb b/app/models/project_services/jira_service.rb
index 5bcf199d468..0a493b7a12b 100644
--- a/app/models/project_services/jira_service.rb
+++ b/app/models/project_services/jira_service.rb
@@ -237,7 +237,7 @@ class JiraService < IssueTrackerService
end
def resource_url(resource)
- "#{Settings.gitlab['url'].chomp("/")}#{resource}"
+ "#{Settings.gitlab.base_url.chomp("/")}#{resource}"
end
def build_entity_url(entity_name, entity_id)