diff options
author | Robert Speicher <robert@gitlab.com> | 2018-06-13 17:28:19 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2018-06-13 17:28:19 +0000 |
commit | 7b7ba297cf64f4e5ea27234600c038c3b2fc0a6d (patch) | |
tree | ae184b442e69495bd615f1e24ddced1d0b2f2f1e /app/views | |
parent | 61b0577d918748e6957d63e10cd33219756d48d7 (diff) | |
parent | 7fe92d998125d3dc8be3544346de8dbd5c64b240 (diff) | |
download | gitlab-ce-7b7ba297cf64f4e5ea27234600c038c3b2fc0a6d.tar.gz |
Merge branch 'bvl-missing-message-on-access-denied' into 'master'
Render access denied without message
Closes #47844
See merge request gitlab-org/gitlab-ce!19755
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/errors/access_denied.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/errors/access_denied.html.haml b/app/views/errors/access_denied.html.haml index 227c7884915..8ae29b9d337 100644 --- a/app/views/errors/access_denied.html.haml +++ b/app/views/errors/access_denied.html.haml @@ -1,4 +1,4 @@ -- message = local_assigns.fetch(:message) +- message = local_assigns.fetch(:message, nil) - content_for(:title, 'Access Denied') = image_tag('illustrations/error-403.svg', alt: '403', lazy: false) |