Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplifies Followable#get_follow_for.

  • Loading branch information...
commit a484a09dde42e2ef23b67d51fccd00e88fc633df 1 parent f905e49
@james2m james2m authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/acts_as_follower/followable.rb
View
2  lib/acts_as_follower/followable.rb
@@ -85,7 +85,7 @@ def unblock(follower)
private
def get_follow_for(follower)
- Follow.for_followable(self).for_follower(follower).first
+ self.followings.for_follower(follower).first
end
def block_future_follow(follower)
Please sign in to comment.
Something went wrong with that request. Please try again.