From 94b5bbcb5d225ec1bfe29e6aa4e8b8eb7d137abf Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 16 Nov 2008 11:58:41 +0000 Subject: Moves plugin list to its own administration menu item. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2037 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/admin_controller.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 777c31d70..90ec59098 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -49,6 +49,10 @@ class AdminController < ApplicationController render :action => "projects", :layout => false if request.xhr? end + def plugins + @plugins = Redmine::Plugin.registered_plugins + end + # Loads the default configuration # (roles, trackers, statuses, workflow, enumerations) def default_configuration @@ -84,6 +88,5 @@ class AdminController < ApplicationController :file_repository_writable => File.writable?(Attachment.storage_path), :rmagick_available => Object.const_defined?(:Magick) } - @plugins = Redmine::Plugin.registered_plugins end end -- cgit v1.2.3