Commit 8cebbea7 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

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
parents d12a6ac4 6d0ff0ad
...@@ -30,18 +30,6 @@ class IssueTrackerService < Service ...@@ -30,18 +30,6 @@ class IssueTrackerService < Service
false false
end 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) def issue_url(iid)
self.issues_url.gsub(':id', iid.to_s) self.issues_url.gsub(':id', iid.to_s)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment