Sha256: f3256efd4891bd409257fd690e3296e162234714983391d14d7d28933a64b102

Contents?: true

Size: 366 Bytes

Versions: 10

Compression:

Stored size: 366 Bytes

Contents

# frozen_string_literal: true

require "#{ForemanSalt::Engine.root}/lib/foreman_salt/version"

module ForemanSalt
  # General helper functions for foreman_salt
  module SaltPluginHelper
    def salt_doc_url
      major_version = ::ForemanSalt::VERSION.split('.')[0]
      "https://theforeman.org/plugins/foreman_salt/#{major_version}.x/index.html"
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foreman_salt-15.1.0 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-15.0.0 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-14.1.0 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-14.0.0 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-13.2.4 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-13.2.3 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-13.2.2 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-13.2.1 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-13.2.0 app/helpers/foreman_salt/salt_plugin_helper.rb
foreman_salt-13.1.0 app/helpers/foreman_salt/salt_plugin_helper.rb