Skip to content

Commit

Permalink
Add new classes to BUTTON_CLASSES
Browse files Browse the repository at this point in the history
Add new classes to have custom buttons
  • Loading branch information
ZitaNemeckova committed Aug 18, 2017
1 parent fbafc17 commit d83e3cf
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 d83e3cf

Please sign in to comment.