app/helpers/users_helper.rb in adva-0.1.4 vs app/helpers/users_helper.rb in adva-0.2.0

- old
+ new

@@ -1,8 +1,8 @@ module UsersHelper def who(name) name = name.name if name.is_a? User - return current_user.name == name ? t(:'adva.common.you') : name + return current_user.name == name ? "You" : name end def gravatar_img(user, options = {}) image_tag gravatar_url(user.email), {:class => 'avatar'}.merge(options) end