Commit cd3a8fe7 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'ph/247101/fixedDiffViewCookieBeingSetOnExpandEndpoint' into 'master'

Fixes the diff view cookie being set when expanding diff lines

Closes #247101

See merge request gitlab-org/gitlab!41890
parents 9759ad78 bf9c5c05
...@@ -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