diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-01 18:09:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-01 18:09:16 +0300 |
commit | 18d5458781b21dee4dbb8854c72c064e9bd808ed (patch) | |
tree | 73cfc86a9b77398a154ebabebc054b45d4aeb83d /app/helpers | |
parent | a21091270d45530468f8ac2f4f926fe1b9840b67 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/namespaces_helper.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/helpers/namespaces_helper.rb b/app/helpers/namespaces_helper.rb index 60796e628a3..46777ad16d0 100644 --- a/app/helpers/namespaces_helper.rb +++ b/app/helpers/namespaces_helper.rb @@ -91,6 +91,15 @@ module NamespacesHelper } end + def storage_usage_app_data(namespace) + { + namespace_id: namespace.id, + namespace_path: namespace.full_path, + user_namespace: namespace.user_namespace?.to_s, + default_per_page: page_size + } + end + private # Many importers create a temporary Group, so use the real |