diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-15 00:06:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-15 00:06:30 +0300 |
commit | 565fa11a26c6824b1c6072d2dc5459979345ee57 (patch) | |
tree | 2668b631d925341e121c06b7b77cfe12954a015a /app/helpers | |
parent | 8c30d396c5a789080345303330069981aa06e4af (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/releases_helper.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/app/helpers/releases_helper.rb b/app/helpers/releases_helper.rb index 4d9fe345edf..3186bbd9322 100644 --- a/app/helpers/releases_helper.rb +++ b/app/helpers/releases_helper.rb @@ -12,27 +12,11 @@ module ReleasesHelper help_page_path(DOCUMENTATION_PATH) end - def url_for_merge_requests - project_merge_requests_url(@project, params_for_issue_and_mr_paths) - end - - def url_for_issues - project_issues_url(@project, params_for_issue_and_mr_paths) - end - def data_for_releases_page { project_id: @project.id, illustration_path: illustration, - documentation_path: help_page, - merge_requests_url: url_for_merge_requests, - issues_url: url_for_issues + documentation_path: help_page } end - - private - - def params_for_issue_and_mr_paths - { scope: 'all', state: 'opened' } - end end |