Sha256: ef36db0ede1ca590078c050caae26dffa660de9ebaf73d1179b83f6fc9f9e223

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

module ForemanPuppet
  module EnvironmentsHelper
    include PuppetclassesAndEnvironmentsHelper

    def url_for(*args)
      super
    rescue ActionController::UrlGenerationError => _e
      foreman_puppet.url_for(*args)
    end

    def environments_title_actions
      title_actions import_proxy_select(hash_for_import_environments_environments_path),
        button_group(new_link(_('Create Puppet Environment'), engine: foreman_puppet)),
        button_group(help_button)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_puppet-0.0.2 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-0.0.1 app/helpers/foreman_puppet/environments_helper.rb