summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Slaughter <pslaughter@gitlab.com>2018-05-31 11:10:26 -0500
committerPaul Slaughter <pslaughter@gitlab.com>2018-05-31 11:23:50 -0500
commit2a9344537fab7afda5c1adcd7bfdd85f94bd9323 (patch)
tree8b6217c456acfc86953fb69e80ce49b83e9b5029
parent45fa9dfa7b7c84912ddece49c46db9bcf6b07468 (diff)
downloadgitlab-ce-25955/update-404-pages.tar.gz
Fix reading message in access_denied view25955/update-404-pages
-rw-r--r--app/views/errors/access_denied.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/errors/access_denied.html.haml b/app/views/errors/access_denied.html.haml
index c47cfb3ac66..227c7884915 100644
--- a/app/views/errors/access_denied.html.haml
+++ b/app/views/errors/access_denied.html.haml
@@ -1,4 +1,6 @@
+- message = local_assigns.fetch(:message)
- content_for(:title, 'Access Denied')
+
= image_tag('illustrations/error-403.svg', alt: '403', lazy: false)
.container
%h3