Commit 05b9cf59194d8bc64e7f3edf91c35f1c15cd6327

Authored by Joenio Costa
Committed by Antonio Terceiro
1 parent d37854ae

add CSS class to asset menu item

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/assets_helper.rb
@@ -18,7 +18,7 @@ module AssetsHelper @@ -18,7 +18,7 @@ module AssetsHelper
18 link_to( 18 link_to(
19 content_tag('span', '', :class => css_class) + 19 content_tag('span', '', :class => css_class) +
20 content_tag('strong', name), 20 content_tag('strong', name),
21 - target )) 21 + target ), :class => "asset_#{target[:asset]}")
22 end.join("\n") 22 end.join("\n")
23 end 23 end
24 24