ManageIQ/manageiq-ui-classic

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

Summary

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

  def disabled?
    !editable?
  end

  private

  def editable?
    @record.editable_properties?
  end
end