changes budget name max length

This commit is contained in:
Juanjo Bazán
2017-04-27 17:04:25 +02:00
parent e60ee138b0
commit 8654517743
3 changed files with 15 additions and 2 deletions

View File

@@ -35,6 +35,10 @@ class Budget < ActiveRecord::Base
2000
end
def self.title_max_length
80
end
def accepting?
phase == "accepting"
end