]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/user_helper.rb
Fix links to user notes
[rails.git] / app / helpers / user_helper.rb
index 6a239df5d723d02f0b02f2fa5e68e58871a94a1d..70125e8047e5f1fc13f35dad24a59da2d5148846 100644 (file)
@@ -11,6 +11,12 @@ module UserHelper
     image_tag user.image.url(:small), options
   end
 
+  def user_thumbnail_tiny(user, options = {})
+    options[:class] ||= "user_thumbnail_tiny"
+
+    image_tag user.image.url(:small), options
+  end
+
   def openid_logo
     image_tag "openid_small.png", :alt => t('user.login.openid_logo_alt'), :class => "openid_logo"
   end