summaryrefslogtreecommitdiff
path: root/app/controllers/projects/application_controller.rb
diff options
context:
space:
mode:
authorSam Rose <samrose3@gmail.com>2017-02-14 13:39:11 -0500
committerSam Rose <samrose3@gmail.com>2017-02-14 13:39:42 -0500
commit3c4dc4338484acc8736c347b5b64029450836c03 (patch)
tree5e3ed0af56b4c15085dc2a225bccfb0202d2a238 /app/controllers/projects/application_controller.rb
parentf802ad370e625e7aa2f3023f73c24a8b6f009821 (diff)
downloadgitlab-ce-3c4dc4338484acc8736c347b5b64029450836c03.tar.gz
Dispatch needed JS when creating a new MR in diff view27920-both-wip-messages-showing
Diffstat (limited to 'app/controllers/projects/application_controller.rb')
-rw-r--r--app/controllers/projects/application_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/projects/application_controller.rb b/app/controllers/projects/application_controller.rb
index db33b60b229..e2f81b09adc 100644
--- a/app/controllers/projects/application_controller.rb
+++ b/app/controllers/projects/application_controller.rb
@@ -83,7 +83,6 @@ class Projects::ApplicationController < ApplicationController
end
def apply_diff_view_cookie!
- @show_changes_tab = params[:view].present?
cookies.permanent[:diff_view] = params.delete(:view) if params[:view].present?
end