ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/application_helper/button/host_edit.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Button::HostEdit < ApplicationHelper::Button::Basic
  needs :@record

  def disabled?
    !@record.supports?(:update)
  end
end