summaryrefslogtreecommitdiff
path: root/lib/api/helpers/common_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/helpers/common_helpers.rb')
-rw-r--r--lib/api/helpers/common_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/common_helpers.rb b/lib/api/helpers/common_helpers.rb
index 02942820982..855648f2ef0 100644
--- a/lib/api/helpers/common_helpers.rb
+++ b/lib/api/helpers/common_helpers.rb
@@ -34,7 +34,7 @@ module API
end
def endpoint_id
- "#{request.request_method} #{route.origin}"
+ ::API::Base.endpoint_id_for_route(route)
end
end
end