app/models/task.rb in bookyt_projects-0.2.0 vs app/models/task.rb in bookyt_projects-0.2.1
- old
+ new
@@ -1,4 +1,8 @@
class Task < ActiveRecord::Base
belongs_to :project
belongs_to :person
+
+ def duration
+ "2h"
+ end
end
- old
+ new