Commit 75c6953f authored by Tim Zallmann's avatar Tim Zallmann

Changed Group Icon URL Back to try option

parent 59c6ddcd
...@@ -17,11 +17,7 @@ module GroupsHelper ...@@ -17,11 +17,7 @@ module GroupsHelper
group = Group.find_by_full_path(group) group = Group.find_by_full_path(group)
end end
if group.avatar_url group.try(:avatar_url) || ActionController::Base.helpers.image_path('no_group_avatar.png')
group.avatar_url
else # No Avatar Icon
ActionController::Base.helpers.image_path('no_group_avatar.png')
end
end end
def group_title(group, name = nil, url = nil) def group_title(group, name = nil, url = nil)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment