Sha256: 0576752959677628f782819136c98b4b8942db0e2afd1649e9e5ae01acf5f715

Contents?: true

Size: 525 Bytes

Versions: 10

Compression:

Stored size: 525 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.merge(engine: foreman_puppet)),
        button_group(new_link(_('Create Puppet Environment'), engine: foreman_puppet)),
        button_group(help_button)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
foreman_puppet-1.0.5 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-1.0.4 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-2.0.0.alpha.2 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-1.0.3 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-1.0.2 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-1.0.1 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-1.0.0 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-1.0.0.rc.2 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-1.0.0.rc.1 app/helpers/foreman_puppet/environments_helper.rb
foreman_puppet-0.1.0 app/helpers/foreman_puppet/environments_helper.rb