summaryrefslogtreecommitdiff
path: root/app/views/projects/commit
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-01-29 13:38:00 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-06 16:12:23 -0600
commit27f2ca94181880861269a7ddc07ae0d50a656d35 (patch)
treef93a26a7bf263e448f24230950db618bcd73b8f5 /app/views/projects/commit
parentd147688af4adb6bcd6cb0f18797c70a8a451f4fa (diff)
downloadgitlab-ce-27f2ca94181880861269a7ddc07ae0d50a656d35.tar.gz
Add 'View on [env]' link to blobs and individual files in diffs
Diffstat (limited to 'app/views/projects/commit')
-rw-r--r--app/views/projects/commit/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/commit/show.html.haml b/app/views/projects/commit/show.html.haml
index 7afd3d80ef5..d5fc283aa8d 100644
--- a/app/views/projects/commit/show.html.haml
+++ b/app/views/projects/commit/show.html.haml
@@ -9,7 +9,7 @@
= render "ci_menu"
- else
.block-connector
- = render "projects/diffs/diffs", diffs: @diffs
+ = render "projects/diffs/diffs", diffs: @diffs, environment: @environment
= render "projects/notes/notes_with_form"
- if can_collaborate_with_project?
- %w(revert cherry-pick).each do |type|