summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-16 11:58:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-16 11:58:41 +0000
commit94b5bbcb5d225ec1bfe29e6aa4e8b8eb7d137abf (patch)
tree842236ce27c25d86a28ae2abef080eaee2ad835c /app/controllers
parent9c09fd20fbd361aecab26be7d5187afd35a4f657 (diff)
downloadredmine-94b5bbcb5d225ec1bfe29e6aa4e8b8eb7d137abf.tar.gz
redmine-94b5bbcb5d225ec1bfe29e6aa4e8b8eb7d137abf.zip
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
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/admin_controller.rb5
1 files changed, 4 insertions, 1 deletions
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