diff options
Diffstat (limited to 'app/serializers/build_entity.rb')
-rw-r--r-- | app/serializers/build_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/build_entity.rb b/app/serializers/build_entity.rb index 203bd747ad9..3d9ac66de0e 100644 --- a/app/serializers/build_entity.rb +++ b/app/serializers/build_entity.rb @@ -19,6 +19,6 @@ class BuildEntity < Grape::Entity private def url_to(route, build) - @urls.send("#{route}_url", build.project.namespace, build.project, build) + send("#{route}_url", build.project.namespace, build.project, build) end end |