Commit e0ee9fb7 authored by Himanshu Kapoor's avatar Himanshu Kapoor

Pass project to :consolidated_edit_button feature flag

parent 32a279fb
......@@ -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