Commit bf9c5c05 authored by Phil Hughes's avatar Phil Hughes

Fixes the diff view cookie being set when expanding diff lines

Closes https://gitlab.com/gitlab-org/gitlab/-/issues/247101
parent 74b68852
...@@ -103,8 +103,6 @@ class Projects::BlobController < Projects::ApplicationController ...@@ -103,8 +103,6 @@ class Projects::BlobController < Projects::ApplicationController
end end
def diff def diff
apply_diff_view_cookie!
@form = Blobs::UnfoldPresenter.new(blob, diff_params) @form = Blobs::UnfoldPresenter.new(blob, diff_params)
# keep only json rendering when # keep only json rendering when
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment