Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Simplifies Followable#get_follow_for.
  • Loading branch information
james2m committed Sep 21, 2011
1 parent f905e49 commit a484a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/acts_as_follower/followable.rb
Expand Up @@ -85,7 +85,7 @@ def unblock(follower)
private private


def get_follow_for(follower) def get_follow_for(follower)
Follow.for_followable(self).for_follower(follower).first self.followings.for_follower(follower).first
end end


def block_future_follow(follower) def block_future_follow(follower)
Expand Down

0 comments on commit a484a09

Please sign in to comment.