summaryrefslogtreecommitdiff
path: root/app/helpers/issuables_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r--app/helpers/issuables_helper.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb
index 2ae7f5c5f32..8dbc51a689f 100644
--- a/app/helpers/issuables_helper.rb
+++ b/app/helpers/issuables_helper.rb
@@ -67,16 +67,6 @@ module IssuablesHelper
end
end
- def issuable_todo_path(issuable)
- project = issuable.project
-
- if issuable.kind_of?(MergeRequest)
- todo_namespace_project_merge_request_path(project.namespace, project, issuable.iid, :json)
- else
- todo_namespace_project_issue_path(project.namespace, project, issuable.iid, :json)
- end
- end
-
def has_todo(issuable)
unless current_user.nil?
current_user.todos.find_by(target_id: issuable.id, state: :pending)