diff options
author | DJ Mountney <david@twkie.net> | 2016-05-09 16:21:22 -0700 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2016-05-10 08:46:02 -0700 |
commit | 160ef66d1bbbbc593516c7575d6b02ddb019c000 (patch) | |
tree | 95d2b3e09d56a2237da09c48281201d5ab8d73bf /app/views/layouts/nav | |
parent | 9898f9b4e6b80edaa914675edfa9b229498b31fe (diff) | |
download | gitlab-ce-160ef66d1bbbbc593516c7575d6b02ddb019c000.tar.gz |
Add health_check access token, and enforce on the health_check endpoint
Also added a health check page to the admin section for resetting the token.
Diffstat (limited to 'app/views/layouts/nav')
-rw-r--r-- | app/views/layouts/nav/_admin.html.haml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/layouts/nav/_admin.html.haml b/app/views/layouts/nav/_admin.html.haml index 280a1b93729..f292730fe45 100644 --- a/app/views/layouts/nav/_admin.html.haml +++ b/app/views/layouts/nav/_admin.html.haml @@ -41,6 +41,11 @@ = icon('file-text fw') %span Logs + = nav_link(controller: :health_check) do + = link_to admin_health_check_path, title: 'Health Check' do + = icon('medkit fw') + %span + Health Check = nav_link(controller: :broadcast_messages) do = link_to admin_broadcast_messages_path, title: 'Messages' do = icon('bullhorn fw') |