Skip to content

Commit

Permalink
Merge pull request #15845 from ZitaNemeckova/custom_classes
Browse files Browse the repository at this point in the history
Add new classes to BUTTON_CLASSES
  • Loading branch information
Dan Clarizio authored Aug 22, 2017
2 parents 77f891a + d83e3cf commit 8da73f2
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/models/custom_button.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,28 @@ class CustomButton < ApplicationRecord
acts_as_miq_set_member

BUTTON_CLASSES = [
AvailabilityZone,
CloudNetwork,
CloudObjectStoreContainer,
CloudSubnet,
CloudTenant,
CloudVolume,
ContainerGroup,
ContainerImage,
ContainerProject,
ContainerTemplate,
ContainerVolume,
EmsCluster,
ExtManagementSystem,
Host,
LoadBalancer,
MiqTemplate,
NetworkRouter,
OrchestrationStack,
SecurityGroup,
Service,
Storage,
Switch,
Vm,
].freeze

Expand Down

0 comments on commit 8da73f2

Please sign in to comment.