Skip to content

Commit

Permalink
Move acts_as_miq_taggable to ConfigurationScriptPayload base class
Browse files Browse the repository at this point in the history
Move acts_as_miq_taggable to ConfigurationScriptPayload class to prevent any potential errors
in Automation > Ansible > Playbooks, similarly as in Ansible Credentials/Repositories pages.
  • Loading branch information
Hilda Stastna committed Apr 3, 2018
1 parent 4fb74d8 commit 2673c3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/models/configuration_script_payload.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
class ConfigurationScriptPayload < ConfigurationScriptBase
acts_as_miq_taggable

belongs_to :configuration_script_source

def self.base_model
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
class ManageIQ::Providers::AutomationManager::ConfigurationScriptSource < ConfigurationScriptSource
acts_as_miq_taggable
end

0 comments on commit 2673c3a

Please sign in to comment.