[#2281] Added a TimeEntry#billable? method which is delegated to

TimeEntryActivity#billable?
This commit is contained in:
Eric Davis
2009-04-21 17:06:28 -07:00
parent ea38554820
commit adf17f8ed7
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
require_dependency 'time_entry'
module OverheadTimeEntryPatch
def self.included(base)
base.class_eval do
unloadable
delegate :billable?, :to => :activity
end
end
end