summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-06-13 17:28:19 +0000
committerRobert Speicher <robert@gitlab.com>2018-06-13 17:28:19 +0000
commit7b7ba297cf64f4e5ea27234600c038c3b2fc0a6d (patch)
treeae184b442e69495bd615f1e24ddced1d0b2f2f1e /app/views
parent61b0577d918748e6957d63e10cd33219756d48d7 (diff)
parent7fe92d998125d3dc8be3544346de8dbd5c64b240 (diff)
downloadgitlab-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.haml2
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)