Skip to content

Commit

Permalink
Merge pull request #14152 from carbonin/move_tower_provider_mixin_to_…
Browse files Browse the repository at this point in the history
…shared

Move the previously refactored provider mixin into the shared directory
  • Loading branch information
blomquisg authored Mar 6, 2017
2 parents f25796b + 3e6bd52 commit 8681229
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/models/manageiq/providers/ansible_tower/provider.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class ManageIQ::Providers::AnsibleTower::Provider < ::Provider
include ManageIQ::Providers::AnsibleTower::ProviderMixin
include ManageIQ::Providers::AnsibleTower::Shared::Provider

has_one :automation_manager,
:foreign_key => "provider_id",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module ManageIQ::Providers::AnsibleTower::ProviderMixin
module ManageIQ::Providers::AnsibleTower::Shared::Provider
extend ActiveSupport::Concern

def self.included(klass)
Expand Down
2 changes: 1 addition & 1 deletion app/models/manageiq/providers/embedded_ansible/provider.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class ManageIQ::Providers::EmbeddedAnsible::Provider < ::Provider
include ManageIQ::Providers::AnsibleTower::ProviderMixin
include ManageIQ::Providers::AnsibleTower::Shared::Provider

has_one :automation_manager,
:foreign_key => "provider_id",
Expand Down

0 comments on commit 8681229

Please sign in to comment.