diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-04-24 16:51:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-04-24 16:51:07 +0000 |
commit | a7e32302a6c91c56e6511d1a44a64db07f53221d (patch) | |
tree | ae67ac4c2683b08b2b993dab23a6976c09bd0272 /app/models/board.rb | |
parent | 6385217be04b2468f25e12700a39a3c6c6f0f832 (diff) | |
download | redmine-a7e32302a6c91c56e6511d1a44a64db07f53221d.tar.gz redmine-a7e32302a6c91c56e6511d1a44a64db07f53221d.zip |
Adds single forum atom feed (#3181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2682 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/board.rb')
-rw-r--r-- | app/models/board.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/board.rb b/app/models/board.rb index 3bc18efec..ada138375 100644 --- a/app/models/board.rb +++ b/app/models/board.rb @@ -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 |