summaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-23 17:19:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-09-23 17:19:27 +0000
commite4f0864e3a7f17f0e8a282aad29202f53bf11139 (patch)
treea40440471a6b0a8bc8aedf9d89d8bf2ef27e918f /app/controllers/admin_controller.rb
parenta42a115b8fa21ab506cd40765a9e5684f022451b (diff)
downloadredmine-e4f0864e3a7f17f0e8a282aad29202f53bf11139.tar.gz
redmine-e4f0864e3a7f17f0e8a282aad29202f53bf11139.zip
Basic plugin support.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@752 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r--app/controllers/admin_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index ccc107507..bceab361c 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -74,6 +74,7 @@ class AdminController < ApplicationController
:default_admin_changed => User.find(:first, :conditions => ["login=? and hashed_password=?", 'admin', User.hash_password('admin')]).nil?,
:file_repository_writable => File.writable?(Attachment.storage_path),
:rmagick_available => Object.const_defined?(:Magick)
- }
+ }
+ @plugins = Redmine::Plugin.registered_plugins
end
end