diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-04-22 08:54:03 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-04-24 18:22:26 +0300 |
commit | a27b59f620ff26c9b358c5a34e175a6a513c9d15 (patch) | |
tree | 0996ce8fda9dd5d64be82688464c3d612a6f1828 /app/helpers/blob_helper.rb | |
parent | 9c35162f83fb62349b922baaf192038522b09793 (diff) |
Fix diffs with edit-forking needs
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/31276
Diffstat (limited to 'app/helpers/blob_helper.rb')
-rw-r--r-- | app/helpers/blob_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb index 3736e1ffcbb..36b16421e8f 100644 --- a/app/helpers/blob_helper.rb +++ b/app/helpers/blob_helper.rb @@ -29,7 +29,7 @@ module BlobHelper link_to 'Edit', edit_path(project, ref, path, options), class: "#{common_classes} btn-sm" elsif current_user && can?(current_user, :fork_project, project) continue_params = { - to: edit_path, + to: edit_path(project, ref, path, options), notice: edit_in_new_fork_notice, notice_now: edit_in_new_fork_notice_now } |