summaryrefslogtreecommitdiff
path: root/app/helpers/routing/graphql_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/routing/graphql_helper.rb')
-rw-r--r--app/helpers/routing/graphql_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/routing/graphql_helper.rb b/app/helpers/routing/graphql_helper.rb
index beefbb9b387..2e1d084e3cc 100644
--- a/app/helpers/routing/graphql_helper.rb
+++ b/app/helpers/routing/graphql_helper.rb
@@ -9,5 +9,9 @@ module Routing
def graphql_etag_pipeline_sha_path(sha)
[api_graphql_path, "pipelines/sha/#{sha}"].join(':')
end
+
+ def graphql_etag_project_on_demand_scan_counts_path(project)
+ [api_graphql_path, "on_demand_scan/counts/#{project.full_path}"].join(':')
+ end
end
end