Skip to content
Snippets Groups Projects

BE: Allow customers to extend or reactivate their trial on gitlab.com [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Merged Qingyu Zhao requested to merge 290278-allow-extend-or-reactivate-trial-on-gitlab-com into master
All threads resolved!
3 files
+ 14
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -99,6 +99,12 @@ def group_merge_requests_count(state:)
@@ -99,6 +99,12 @@ def group_merge_requests_count(state:)
.count
.count
end
end
 
def group_dependency_proxy_url(group)
 
# The namespace path can include uppercase letters, which
 
# Docker doesn't allow. The proxy expects it to be downcased.
 
"#{group_url(group).downcase}#{DependencyProxy::URL_SUFFIX}"
 
end
 
def group_icon_url(group, options = {})
def group_icon_url(group, options = {})
if group.is_a?(String)
if group.is_a?(String)
group = Group.find_by_full_path(group)
group = Group.find_by_full_path(group)
Loading