diff options
author | Evan Read <eread@gitlab.com> | 2020-11-30 09:33:47 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2020-11-30 09:33:47 +0300 |
commit | 0bc23e4c45b1324ae22c4c4730c8086db5983065 (patch) | |
tree | ff8a0ee5782486ac29b7beff7869f63d78e47e1e /layouts/404.html | |
parent | 6efa4fb798ce9be931e8fcd6d8d9c9727b711082 (diff) |
Fix a Rubocop predicate name problem
Diffstat (limited to 'layouts/404.html')
-rw-r--r-- | layouts/404.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/404.html b/layouts/404.html index d5cb7c20..3d06accd 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -17,7 +17,7 @@ <%= render '/docsearch.*' %> <script type="application/javascript" src="<%= @items['/assets/javascripts/404.*'].path %>"></script> <script src="<%= @items['/frontend/404/404.*'].path %>"></script> - <% if is_production? %> + <% if production? %> <%# Add analytics only in production %> <%= render '/analytics.*' %> <% end %> |