summaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-16 15:38:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-16 15:38:37 +0000
commitfefc6e6bec617fe4e6b438beedf1ca78f722ce45 (patch)
tree1af057922516131d69c388775703fa6b93fdf3f7 /app/controllers/admin_controller.rb
parent97252c26eefe3dfa5e0c3cb059fe66cb21b2e34d (diff)
downloadredmine-fefc6e6bec617fe4e6b438beedf1ca78f722ce45.tar.gz
redmine-fefc6e6bec617fe4e6b438beedf1ca78f722ce45.zip
Adds .find and .all Plugin class methods.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2039 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r--app/controllers/admin_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index 119e2b922..d3afeeea1 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.values.sort
+ @plugins = Redmine::Plugin.all
end
# Loads the default configuration