ManageIQ/manageiq-ui-classic

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

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ApplicationHelper::Button::PolicyCopy < ApplicationHelper::Button::Basic
  def visible?
    x_active_tree == :policy_tree
  end
  delegate :x_active_tree, :to => :@view_context
end