diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-03 16:01:35 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-03 16:01:35 +0300 |
commit | c3dae798e16dee0b64bc8c9fd0e0e21b2502318e (patch) | |
tree | d966d7c9ddeb26786ee5d33c79a72d046d901d93 /app/serializers/environment_entity.rb | |
parent | 7dd6485a0fd7fc264f86f389da3ab846c62e8724 (diff) |
Extend tests for environments serializer
Diffstat (limited to 'app/serializers/environment_entity.rb')
-rw-r--r-- | app/serializers/environment_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/environment_entity.rb b/app/serializers/environment_entity.rb index 6b037e65e55..0a6c5e7f87f 100644 --- a/app/serializers/environment_entity.rb +++ b/app/serializers/environment_entity.rb @@ -10,7 +10,7 @@ class EnvironmentEntity < Grape::Entity expose :last_deployment, using: DeploymentEntity expose :stoppable? - expose :environmenturl do |environment| + expose :environment_url do |environment| @urls.namespace_project_environment_url( environment.project.namespace, environment.project, |