Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% if @current_user.blocked_friends.include?(friend) %>
- <%= link_to 'unblock buzzes', {:action => 'unblock_buzzes', :id => friend}, :method => :post -%>
- <% else -%>
- <%= link_to 'block buzzes', {:action => 'block_buzzes', :id => friend}, :method => :post -%>
- <% end -%>
Add Comment
Please, Sign In to add comment