diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-02-20 20:17:34 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-02-20 20:17:34 +0000 |
commit | 32782a7f9fd4e7a1f4cc8ce2c72d3257dec23d52 (patch) | |
tree | b6d4992e7e751b394c70c39f17b8e75bf490bfcc | |
parent | 4f2d74e25f00a70a1a424c2c574c125f43a64b0e (diff) | |
download | redmine-32782a7f9fd4e7a1f4cc8ce2c72d3257dec23d52.tar.gz redmine-32782a7f9fd4e7a1f4cc8ce2c72d3257dec23d52.zip |
added back database adapter name on admin/info
git-svn-id: http://redmine.rubyforge.org/svn/trunk@262 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/admin_controller.rb | 1 | ||||
-rw-r--r-- | app/views/admin/info.rhtml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 84787ca37..d5574c1b5 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -51,5 +51,6 @@ class AdminController < ApplicationController end
def info
+ @db_adapter_name = ActiveRecord::Base.connection.adapter_name
end
end diff --git a/app/views/admin/info.rhtml b/app/views/admin/info.rhtml index 144138f40..b9f50af44 100644 --- a/app/views/admin/info.rhtml +++ b/app/views/admin/info.rhtml @@ -1,3 +1,3 @@ <h2><%=l(:label_information_plural)%></h2>
-<p><%=l(:field_version)%>: <strong>redMine <%= Redmine::VERSION %></strong></p>
\ No newline at end of file +<p><%=l(:field_version)%>: <strong>redMine <%= Redmine::VERSION %></strong> (<%= @db_adapter_name %>)</p>
\ No newline at end of file |