Commit bd3458da authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

added Redmine::VERSION module

git-svn-id: http://redmine.rubyforge.org/svn/trunk@170 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 4ccbc656
<h2><%=l(:label_information_plural)%></h2>
<p><%=l(:field_version)%>: <strong><%= RDM_APP_NAME %> <%= RDM_APP_VERSION %></strong></p>
<p><%=l(:field_version)%>: <strong>redMine <%= Redmine::VERSION %></strong></p>
<%=l(:label_environment)%>:
<ul>
......
......@@ -135,7 +135,7 @@
</div>
<div id="footer">
<p><a href="http://redmine.rubyforge.org/"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %></p>
<p><a href="http://redmine.rubyforge.org/">redMine</a> <%= Redmine::VERSION %> &copy 2006-2007 Jean-Philippe Lang</p>
</div>
</div>
......
......@@ -59,25 +59,6 @@ Rails::Initializer.run do |config|
config.action_mailer.delivery_method = :smtp
end
# Add new inflection rules using the following format
# (all these examples are active by default):
# Inflector.inflections do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
# end
# IMPORTANT !!! DO NOT MODIFY PARAMETERS HERE
# Instead, rename config_custom.example.rb to config_custom.rb
# and set your own configuration in that file
# Parameters defined in config_custom.rb override those defined below
# application name
RDM_APP_NAME = "redMine"
# application version
RDM_APP_VERSION = "0.4.1"
ActiveRecord::Errors.default_error_messages = {
:inclusion => "activerecord_error_inclusion",
:exclusion => "activerecord_error_exclusion",
......
module Redmine
module VERSION #:nodoc:
MAJOR = 0
MINOR = 4
TINY = 2
STRING= [MAJOR, MINOR, TINY].join('.')
def self.to_s; STRING end
end
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment