ManageIQ/manageiq-ui-classic

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

Summary

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

  def disabled?
    false
  end

  def visible?
    super || editable_domain?(@record)
  end
end