diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-10-21 15:40:16 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-11-16 11:57:55 +0000 |
commit | 843e5642369e20d138e2053e50de4481dcb3f9ef (patch) | |
tree | a3a6c9768da8aadc63186a4eeccb1020087c842e /app/controllers/projects/environments_controller.rb | |
parent | dc46dc1d5f873e1a0aeaacca2b02614c9c79f79b (diff) | |
download | gitlab-ce-843e5642369e20d138e2053e50de4481dcb3f9ef.tar.gz |
Adds commit links
Diffstat (limited to 'app/controllers/projects/environments_controller.rb')
-rw-r--r-- | app/controllers/projects/environments_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb index cb2420f9042..6858b6da3ea 100644 --- a/app/controllers/projects/environments_controller.rb +++ b/app/controllers/projects/environments_controller.rb @@ -78,7 +78,8 @@ class Projects::EnvironmentsController < Projects::ApplicationController user: { only: [:id, :name, :username], methods: [:avatar_url] } }, methods: [:short_sha, :commit_title, :deployable, :commit] - } + }, + project: { methods: [:namespace]} } ) end |