diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 90ec59098..119e2b922 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -50,7 +50,7 @@ class AdminController < ApplicationController end def plugins - @plugins = Redmine::Plugin.registered_plugins + @plugins = Redmine::Plugin.registered_plugins.values.sort end # Loads the default configuration diff --git a/app/views/admin/plugins.rhtml b/app/views/admin/plugins.rhtml index 5a208fe02..9cabd42ae 100644 --- a/app/views/admin/plugins.rhtml +++ b/app/views/admin/plugins.rhtml @@ -2,13 +2,13 @@ <% if @plugins.any? %>
<%=h @plugins[plugin].name %> | -<%=h @plugins[plugin].description %> | -<%=h @plugins[plugin].author %> | -<%=h @plugins[plugin].version %> | -<%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.to_s) if @plugins[plugin].configurable? %> | +<%=h plugin.name %> | +<%=h plugin.description %> | +<%=h plugin.author %> | +<%=h plugin.version %> | +<%= link_to(l(:button_configure), :controller => 'settings', :action => 'plugin', :id => plugin.id) if plugin.configurable? %> |