Added Redmine::Info to store various information about the application.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@682 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-08-29 22:27:43 +00:00
parent 088563db3e
commit 840f18b1c7
6 changed files with 13 additions and 12 deletions
-1
View File
@@ -1,4 +1,3 @@
require 'redmine/version'
require 'redmine/access_control'
require 'redmine/menu_manager'
require 'redmine/mime_type'
+9
View File
@@ -0,0 +1,9 @@
module Redmine
module Info
class << self
def app_name; 'Redmine' end
def url; 'http://www.redmine.org/' end
def versioned_name; "#{app_name} #{Redmine::VERSION}" end
end
end
end
-7
View File
@@ -8,11 +8,4 @@ module Redmine
def self.to_s; STRING end
end
module Info
class << self
def name; 'Redmine' end
def url; 'http://www.redmine.org/' end
end
end
end