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-2.2.14 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.13 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.12 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.11 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.10 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.9 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.8 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.7 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.6 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.5 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.2.0 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.1.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.1.1 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.0.4 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-2.0.3 app/helpers/foreman_ansible/ansible_plugin_helper.rb
foreman_ansible-1.5.2 app/helpers/foreman_ansible/ansible_plugin_helper.rb