fix fork button issue

This commit is contained in:
James Lopez 2018-02-23 13:58:27 +01:00
parent db587ae394
commit b8028c6ccc
No known key found for this signature in database
GPG key ID: 756BF8E9D7C0CF39

View file

@ -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