Skip to content

Commit

Permalink
Merge pull request #18379 from ZitaNemeckova/add_uri_attributes
Browse files Browse the repository at this point in the history
Add uri_attributes as virtual_attribute to CustomButton
  • Loading branch information
jrafanie authored Feb 12, 2019
2 parents d927b8d + a219396 commit d4e8a96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/custom_button.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class CustomButton < ApplicationRecord
validates :name, :description, :uniqueness => {:scope => [:applies_to_class, :applies_to_id]}, :presence => true
validates :guid, :uniqueness => true, :presence => true

virtual_attribute :uri_attributes, :string

include UuidMixin
acts_as_miq_set_member

Expand Down

0 comments on commit d4e8a96

Please sign in to comment.