diff options
author | Rémy Coutable <remy@rymai.me> | 2018-05-24 10:57:54 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-05-24 11:14:01 +0300 |
commit | d50a80a282b2ca145841774f4be154a977cccfd8 (patch) | |
tree | b8b44017967ecb99196ec5cfcf4b827af0af1b8a /app/views/help | |
parent | c52db71e36ee70c4c5be80b029cf4362f28e3667 (diff) |
Replace Gitlab::REVISION with Gitlab.revision and handle installations without a .git directory
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'app/views/help')
-rw-r--r-- | app/views/help/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/help/index.html.haml b/app/views/help/index.html.haml index bf2725dc328..c7a64d77a6a 100644 --- a/app/views/help/index.html.haml +++ b/app/views/help/index.html.haml @@ -8,7 +8,7 @@ Community Edition - if user_signed_in? %span= Gitlab::VERSION - %small= link_to Gitlab::REVISION, Gitlab::COM_URL + namespace_project_commits_path('gitlab-org', 'gitlab-ce', Gitlab::REVISION) + %small= link_to Gitlab.revision, Gitlab::COM_URL + namespace_project_commits_path('gitlab-org', 'gitlab-ce', Gitlab.revision) = version_status_badge %hr |