Skip to content

Commit

Permalink
Remove possible miq_ae_service_ prefix from image paths in simulate
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Apr 27, 2016
1 parent f62efba commit f20211f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/miq_ae_tools_controller.rb
Expand Up @@ -343,7 +343,7 @@ def ws_tree_add_node(el)
e_node[:icon] = ActionController::Base.helpers.image_path("100/#{el.name.underscore}.png")
else
e_node[:title] = el.name
e_node[:icon] = ActionController::Base.helpers.image_path("100/#{e_node[:title].underscore}.png")
e_node[:icon] = ActionController::Base.helpers.image_path("100/#{e_node[:title].underscore.sub(/^miq_ae_service_/, '')}.png")
el.attributes.each_pair do |k, v|
a_node = {}
a_node[:key] = "a_#{@idx}"
Expand Down

0 comments on commit f20211f

Please sign in to comment.