diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2015-03-11 16:56:58 +0000 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2015-03-11 11:01:54 -0700 |
commit | e4d843a768071820bfcbd8714dd3fe03baac06b2 (patch) | |
tree | 9f4c31108c10b3fe33c63705b6e4fdb173df3e3b | |
parent | 957a0e45c1503378a40736ca3f01825e51401564 (diff) | |
download | gitlab-ce-e4d843a768071820bfcbd8714dd3fe03baac06b2.tar.gz |
Merge branch 'issues_url' into 'master'
Remove placeholder methods to prevent calling methods rather than attributes.
Since we have https://dev.gitlab.org/gitlab/gitlabhq/blob/7-8-stable/app/models/service.rb#L79 makes no sense to have methods as a placeholder.
See merge request !1676
-rw-r--r-- | app/models/project_services/issue_tracker_service.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/app/models/project_services/issue_tracker_service.rb b/app/models/project_services/issue_tracker_service.rb index 469646ef5d3..c5207afdaec 100644 --- a/app/models/project_services/issue_tracker_service.rb +++ b/app/models/project_services/issue_tracker_service.rb @@ -25,18 +25,6 @@ class IssueTrackerService < Service false end - def project_url - # implement inside child - end - - def issues_url - # implement inside child - end - - def new_issue_url - # implement inside child - end - def issue_url(iid) self.issues_url.gsub(':id', iid.to_s) end |