]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unused options argument from user_image_url
authorAnton Khorev <tony29@yandex.ru>
Sun, 23 Mar 2025 16:15:06 +0000 (19:15 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sun, 23 Mar 2025 16:15:06 +0000 (19:15 +0300)
app/helpers/user_helper.rb

index e00a2253f7ded7898bf68fda69437d10c4d8470e..490c7983af7a42512607404d03057feaf7caf892 100644 (file)
@@ -40,9 +40,9 @@ module UserHelper
     end
   end
 
-  def user_image_url(user, options = {})
+  def user_image_url(user)
     if user.image_use_gravatar
-      user_gravatar_url(user, options)
+      user_gravatar_url(user)
     elsif user.avatar.attached?
       polymorphic_url(user_avatar_variant(user, :resize_to_limit => [100, 100]), :host => Settings.server_url)
     else