Commit 074a66ad5ad3f0d7e646832c6aa6b7f76d30a8b7
1 parent
1fcdecaa
Exists in
master
and in
29 other branches
ActionItem96: requestor must be a Person
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@614 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/models/task.rb
... | ... | @@ -21,7 +21,7 @@ class Task < ActiveRecord::Base |
21 | 21 | FINISHED = 3 |
22 | 22 | end |
23 | 23 | |
24 | - belongs_to :requestor, :class_name => 'Profile', :foreign_key => :requestor_id | |
24 | + belongs_to :requestor, :class_name => 'Person', :foreign_key => :requestor_id | |
25 | 25 | belongs_to :target, :class_name => 'Profile', :foreign_key => :target_id |
26 | 26 | |
27 | 27 | def initialize(*args) | ... | ... |