ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/application_helper/button/mixins/button_prompt_mixin.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module ApplicationHelper::Button::Mixins::ButtonPromptMixin
  def calculate_properties
    super
    self[:prompt] = @record.try(:log_file_depot).try(:requires_support_case?)
  end
end