diff options
author | Phil Hughes <me@iamphill.com> | 2018-03-01 18:05:25 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-03-02 11:42:03 +0300 |
commit | 148cc3c21b7e7132111244cd9908a4bcbbb0891b (patch) | |
tree | 666b1c3fc8f6e79527491da5da57ec7a68062342 /app/helpers/blob_helper.rb | |
parent | 4927cb75e6ab82500b3d055f35ea621483c224fe (diff) |
removed helper methods
Diffstat (limited to 'app/helpers/blob_helper.rb')
-rw-r--r-- | app/helpers/blob_helper.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/helpers/blob_helper.rb b/app/helpers/blob_helper.rb index 0e806d16bc5..5ff09b23a78 100644 --- a/app/helpers/blob_helper.rb +++ b/app/helpers/blob_helper.rb @@ -33,20 +33,6 @@ module BlobHelper ref) end - def ide_edit_button(project = @project, ref = @ref, path = @path, options = {}) - return unless show_new_ide? - return unless blob = readable_blob(options, path, project, ref) - - common_classes = "btn js-edit-ide #{options[:extra_class]}" - - edit_button_tag(blob, - common_classes, - _('Web IDE'), - ide_edit_path(project, ref, path, options), - project, - ref) - end - def modify_file_button(project = @project, ref = @ref, path = @path, label:, action:, btn_class:, modal_type:) return unless current_user |