diff options
Diffstat (limited to 'app/models/time_entry.rb')
-rw-r--r-- | app/models/time_entry.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/time_entry.rb b/app/models/time_entry.rb index 8738668cc..80112308a 100644 --- a/app/models/time_entry.rb +++ b/app/models/time_entry.rb @@ -22,7 +22,7 @@ class TimeEntry < ActiveRecord::Base belongs_to :project belongs_to :issue belongs_to :user - belongs_to :activity, :class_name => 'TimeEntryActivity', :foreign_key => 'activity_id' + belongs_to :activity, :class_name => 'TimeEntryActivity' attr_protected :user_id, :tyear, :tmonth, :tweek |