summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2018-02-23 13:58:27 +0100
committerJames Lopez <james@jameslopez.es>2018-02-23 14:02:41 +0100
commitb8028c6ccc0de02d7a6d97471a555d0e58e59b29 (patch)
tree96041699eec13a17a020122a91330498f8871fe2
parentdb587ae394f9db6dd5f7a1a887678bffce3f1bb8 (diff)
downloadgitlab-ce-b8028c6ccc0de02d7a6d97471a555d0e58e59b29.tar.gz
fix fork button issue
-rw-r--r--app/helpers/blob_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb
index 67196d09b48..40a6a7ca574 100644
--- a/app/helpers/blob_helper.rb
+++ b/app/helpers/blob_helper.rb
@@ -354,7 +354,7 @@ module BlobHelper
elsif display_modify_blob?(blob, project, ref)
edit_link_tag(text, edit_path, common_classes)
elsif user_can_fork_project?(project)
- edit_fork_button_tag(common_classes, project, text, edit_path)
+ edit_fork_button_tag(common_classes, project, text, edit_blob_fork_params(edit_path))
end
end
end