small fixes

This commit is contained in:
jomo
2013-06-24 14:17:27 +02:00
parent fb52e8bed2
commit b4f2dc5fab
7 changed files with 9 additions and 11 deletions

View File

@@ -1,2 +0,0 @@
module ToolsHelper
end

View File

@@ -1,8 +1,8 @@
module UsersHelper
def avatar_url(user_id)
def avatar_url(user_id, size)
u = User.find_by_id(user_id)
u.nil? ? ign = :char : ign = u.ign
return "https://minotar.net/avatar/#{ign}/8"
return "https://minotar.net/avatar/#{ign}/#{size}"
end
def mc_running?