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:
@@ -1,4 +1,3 @@
|
||||
require 'redmine/version'
|
||||
require 'redmine/access_control'
|
||||
require 'redmine/menu_manager'
|
||||
require 'redmine/mime_type'
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user