Commit f71c1719 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'himkp-ff-consolidated-edit-button' into 'master'

Pass project to :consolidated_edit_button feature flag

See merge request gitlab-org/gitlab!45675
parents 352ed0f9 e0ee9fb7
......@@ -4,7 +4,7 @@
.file-actions<
= render 'projects/blob/viewer_switcher', blob: blob unless blame
- if Feature.enabled?(:consolidated_edit_button)
- if Feature.enabled?(:consolidated_edit_button, @project)
= render 'shared/web_ide_button', blob: blob
- else
= edit_blob_button(@project, @ref, @path, blob: blob)
......
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