Sha256: 39cdd60805b7f62b63f1854860034ce51a331bf657d682795db0651006ab3332

Contents?: true

Size: 361 Bytes

Versions: 23

Compression:

Stored size: 361 Bytes

Contents

require "#{ForemanAnsible::Engine.root}/lib/foreman_ansible/version"

module ForemanAnsible
  # General helper for foreman_ansible
  module AnsiblePluginHelper
    def ansible_doc_url
      major_version = ::ForemanAnsible::VERSION.split('.')[0]
      'https://theforeman.org/plugins/foreman_ansible/'\
        "#{major_version}.x/index.html"
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
foreman_ansible-1.5.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-1.5.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.1.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb