Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2019-02-27 15:44:24 +0300
committerPhil Hughes <me@iamphill.com>2019-02-27 15:44:24 +0300
commit8e5911353bcb48155dc5dffab6a732bbba49cd37 (patch)
tree02be38975415726c206741e161481451dec5c8dd /app/helpers
parentd6696f819b5b47752c6451f939d24f0f03054663 (diff)
Use Web IDE path for merge request edit buttons
Diffstat (limited to 'app/helpers')
-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 06beeebe2ba..3e1bb9af5cc 100644
--- a/app/helpers/blob_helper.rb
+++ b/app/helpers/blob_helper.rb
@@ -37,7 +37,7 @@ module BlobHelper
end
def ide_edit_button(project = @project, ref = @ref, path = @path, options = {})
- return unless Feature.enabled?(:web_ide_default)
+ return if Feature.enabled?(:web_ide_default)
return unless blob = readable_blob(options, path, project, ref)
edit_button_tag(blob,