summaryrefslogtreecommitdiff
path: root/app/views/projects/compare/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/compare/index.html.haml')
-rw-r--r--app/views/projects/compare/index.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/projects/compare/index.html.haml b/app/views/projects/compare/index.html.haml
index 3f9aa24a569..e3ab184ec6f 100644
--- a/app/views/projects/compare/index.html.haml
+++ b/app/views/projects/compare/index.html.haml
@@ -13,8 +13,4 @@
= html_escape(_("Changes are shown as if the %{b_open}source%{b_close} revision was being merged into the %{b_open}target%{b_close} revision.")) % { b_open: '<b>'.html_safe, b_close: '</b>'.html_safe }
.prepend-top-20
- #js-compare-selector{ data: { project_compare_index_path: project_compare_index_path(@project),
- refs_project_path: refs_project_path(@project),
- params_from: params[:from], params_to: params[:to],
- project_merge_request_path: @merge_request.present? ? project_merge_request_path(@project, @merge_request) : '',
- create_mr_path: create_mr_button? ? create_mr_path : '' } }
+ #js-compare-selector{ data: project_compare_selector_data(@project, @merge_request, params) }