diff options
Diffstat (limited to 'app/helpers/namespaces_helper.rb')
-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 64b58d28fc9..cf386ee398a 100644 --- a/app/helpers/namespaces_helper.rb +++ b/app/helpers/namespaces_helper.rb @@ -88,6 +88,15 @@ module NamespacesHelper }.to_json end + def pipeline_usage_quota_app_data(namespace) + { + namespace_actual_plan_name: namespace.actual_plan_name, + namespace_path: namespace.full_path, + namespace_id: namespace.id, + page_size: page_size + } + end + private # Many importers create a temporary Group, so use the real |