Revision 875699d9
Added by Joseph Magen over 11 years ago
- ID 875699d96185275f4e5f16e536c08a1efcdf3f37
app/helpers/hosts_helper.rb | ||
---|---|---|
content_tag(:td, "#{tmplt.template_kind} Template") +
|
||
content_tag(:td,
|
||
link_to_if_authorized(icon_text('pencil'), hash_for_edit_config_template_path(:id => tmplt.to_param), :title => "Edit", :rel=>"external") +
|
||
link_to(icon_text('eye-open'), url_for(:controller => 'unattended', :action => tmplt.template_kind.name, :spoof => @host.ip), :title => "Review", :"data-provisioning-template" => true ))
|
||
link_to(icon_text('eye-open'), url_for(:controller => '/unattended', :action => tmplt.template_kind.name, :spoof => @host.ip), :title => "Review", :"data-provisioning-template" => true ))
|
||
end
|
||
end.join(" ").html_safe
|
||
end
|
Also available in: Unified diff
fixes #2018 add forward slash to controller name of url_for() helper