Commit 27bfd2f086c2906f5b0d9d83ff843f11443186b1

Authored by AntonioTerceiro
1 parent cda00018

ActionItem41: adding helper to display faces and names with links to homepage


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1331 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
app/helpers/application_helper.rb
... ... @@ -367,4 +367,8 @@ module ApplicationHelper
367 367 image_tag(profile.image.public_filename(:thumb)) if profile.image
368 368 end
369 369  
  370 + def profile_image_link(profile)
  371 + link_to(profile_image(profile) + tag('br') + profile.name, profile.url)
  372 + end
  373 +
370 374 end
... ...