Adds single forum atom feed (#3181).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2682 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-04-24 16:51:07 +00:00
parent 6385217be0
commit a7e32302a6
5 changed files with 49 additions and 13 deletions
+4
View File
@@ -27,6 +27,10 @@ class Board < ActiveRecord::Base
validates_length_of :name, :maximum => 30
validates_length_of :description, :maximum => 255
def to_s
name
end
def reset_counters!
self.class.reset_counters!(id)
end