Module: ForemanPuppet::EnvironmentsHelper
  
  
  
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #class_update_text, #import_proxy_links, #import_proxy_select
  
    Instance Method Details
    
      
  
  
    #environments_title_actions  ⇒ Object 
  
  
  
  
    | 
11
12
13
14
15 | # File 'app/helpers/foreman_puppet/environments_helper.rb', line 11
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 }, id: 'new_environment')),
    button_group(link_to(_('Help'), { action: 'welcome' }, { class: 'btn btn-default' }))
end | 
 
    
      
  
  
    #url_for(*args)  ⇒ Object 
  
  
  
  
    | 
5
6
7
8
9 | # File 'app/helpers/foreman_puppet/environments_helper.rb', line 5
def url_for(*args)
  super
rescue ActionController::UrlGenerationError => _e
  foreman_puppet.url_for(*args)
end |