diaspora/app/helpers/stream_element_helper.rb
Dan Hansen & Maxwell Salzberg 0eb33b371b blocked users works for multi stream, cuke passes
fixed scoping stuff
2011-11-03 12:31:24 -07:00

7 lines
No EOL
207 B
Ruby

module StreamElementHelper
def block_user_control(author)
if user_signed_in?
button_to "block a mofo", blocks_path(:block => {:person_id => author.id}), :class => "block_button"
end
end
end