Actions
Patch #4351
closedPlugin admin links broken in admin/index
Start date:
2009-12-06
Due date:
% Done:
0%
Estimated time:
Description
In app/views/admin/index.rhtml, we have a "menu_items_for" block (from r2022) to allow plugins to insert their own links there. Method definition has changed in r3090, but not this view, and "caption" is not yielded anymore, so these links are broken (if I'm not mistaken).
Maybe the actual block should be replaced with something like this :
<% 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 -%>
Updated by Jean-Philippe Lang over 15 years ago
- Status changed from New to Closed
Patch + test committed in r3131. Thanks.
Actions