Skip to content
Snippets Groups Projects
Commit 75c6953f authored by Tim Zallmann's avatar Tim Zallmann
Browse files

Changed Group Icon URL Back to try option

parent 59c6ddcd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment