cirandas.net

ref: master

plugins/people_block/lib/people_block_helper.rb


1
2
3
4
5
6
7
8
9
module PeopleBlockHelper
  def profiles_images_list(profiles)
    profiles.map { |profile| profile_image_link(profile, :minor) }.join("\n").html_safe
  end

  def set_address_protocol(address)
    !URI.parse(address).scheme ? 'http://'+address : address
  end
end