annotate lib/redmine/info.rb @ 599:251b380117ce feature_227

Introduce a new latest_downloads plugin to manage active and shortcut for attachments. Add a table for attachment active/shortcut data. Move existing active-handler code into the new plugin (but still using the "old" active column in the attachments table). Note the files_controller stuff doesn't actually work here.
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Tue, 16 Aug 2011 17:01:19 +0100
parents 9f4ebcdd78a6
children bb32da3bea34
rev   line source
Chris@0 1 module Redmine
Chris@0 2 module Info
Chris@0 3 class << self
Chris@0 4 def app_name; 'Redmine' end
Chris@0 5 def url; 'http://www.redmine.org/' end
Chris@33 6 def help_url; '/projects/soundsoftware-site/wiki/Help' end
Chris@0 7 def versioned_name; "#{app_name} #{Redmine::VERSION}" end
Chris@0 8
Chris@0 9 # Creates the url string to a specific Redmine issue
Chris@0 10 def issue(issue_id)
Chris@0 11 url + 'issues/' + issue_id.to_s
Chris@0 12 end
Chris@0 13 end
Chris@0 14 end
Chris@0 15 end