summaryrefslogtreecommitdiff
path: root/app/serializers/remote_mirror_entity.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/serializers/remote_mirror_entity.rb')
-rw-r--r--app/serializers/remote_mirror_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/remote_mirror_entity.rb b/app/serializers/remote_mirror_entity.rb
index 8835c6d4647..440e4274668 100644
--- a/app/serializers/remote_mirror_entity.rb
+++ b/app/serializers/remote_mirror_entity.rb
@@ -2,7 +2,7 @@
class RemoteMirrorEntity < Grape::Entity
expose :id
- expose :url
+ expose :safe_url, as: :url
expose :enabled
expose :auth_method