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
group = Group.find_by_full_path(group)
end
if group.avatar_url
group.avatar_url
else # No Avatar Icon
ActionController::Base.helpers.image_path('no_group_avatar.png')
end
group.try(:avatar_url) || ActionController::Base.helpers.image_path('no_group_avatar.png')
end
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