diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2018-08-02 00:16:44 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2018-08-02 09:43:51 +0200 |
commit | 451b943edcb05db2516575b710123704daea413d (patch) | |
tree | 3482ed9f951e09706d6b51e9f29d0f0f92dde76f | |
parent | 8848bb7caa3ca7bee7e10c62d0030c72fcf8cde5 (diff) | |
download | gitlab-ce-winh-fix-blob-gpg-badge.tar.gz |
Use last_commit instead of ref for loading signatureswinh-fix-blob-gpg-badge
-rw-r--r-- | app/views/projects/blob/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/show.html.haml b/app/views/projects/blob/show.html.haml index 1c487a4eee3..d242c7d54ac 100644 --- a/app/views/projects/blob/show.html.haml +++ b/app/views/projects/blob/show.html.haml @@ -3,7 +3,7 @@ - page_title @blob.path, @ref -- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.path, project_id: @project.path, id: @ref) +- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.path, project_id: @project.path, id: @last_commit) .js-signature-container{ data: { 'signatures-path': signatures_path } } %div{ class: container_class } |