Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-07 14:36:33 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-07-15 21:42:18 +0300
commita9d5b07769b56286903534cde0fcf8e6063c8eb0 (patch)
tree7ac06528ff00f6601138989b9072d5eab7ff27d3 /app/controllers
parentd4677353b84681bd73f321a0b04bb7eba32dbc9c (diff)
Apply diff view cookie on compare
Closes #19573
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/projects/compare_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/projects/compare_controller.rb b/app/controllers/projects/compare_controller.rb
index 5f3ee71444d..10749d0fef8 100644
--- a/app/controllers/projects/compare_controller.rb
+++ b/app/controllers/projects/compare_controller.rb
@@ -15,6 +15,7 @@ class Projects::CompareController < Projects::ApplicationController
end
def show
+ apply_diff_view_cookie!
end
def diff_for_path