diff options
Diffstat (limited to 'app/views/admin/index.rhtml')
-rw-r--r-- | app/views/admin/index.rhtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin/index.rhtml b/app/views/admin/index.rhtml index 1a0684a13..3c96a9a0a 100644 --- a/app/views/admin/index.rhtml +++ b/app/views/admin/index.rhtml @@ -39,9 +39,9 @@ <%= link_to l(:label_settings), :controller => 'settings' %> </p> -<% menu_items_for(:admin_menu) do |item, caption, url, selected| -%> - <%= content_tag 'p', - link_to(h(caption), item.url, item.html_options), +<% menu_items_for(:admin_menu) do |item| -%> + <%= content_tag 'p', + link_to(h(item.caption), item.url, item.html_options), :class => ["icon22", "icon22-#{item.name}"].join(' ') %> <% end -%> |