Skip to content

Commit

Permalink
Fix Actor#suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
atd committed Nov 3, 2010
1 parent fe37668 commit 041fde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/actor.rb
Expand Up @@ -134,7 +134,7 @@ def suggestion(options = {})

return nil unless candidate.present?

sent_ties.build :receiver_id => candidate.id,
sent_ties.build :receiver_id => candidate.actor.id,
:relation => Relation.mode(subject_type, candidate.class).find_by_name(SuggestedRelations[candidate.class.to_s])
end

Expand Down

0 comments on commit 041fde2

Please sign in to comment.