daily pastebin goal
85%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% if @current_user.blocked_friends.include?(friend) %>
  2.     <%= link_to 'unblock buzzes', {:action => 'unblock_buzzes', :id => friend}, :method => :post -%>
  3.   <% else -%>
  4.     <%= link_to 'block buzzes', {:action => 'block_buzzes', :id => friend}, :method => :post -%>
  5.   <% end -%>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top