Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2020-11-30 09:33:47 +0300
committerEvan Read <eread@gitlab.com>2020-11-30 09:33:47 +0300
commit0bc23e4c45b1324ae22c4c4730c8086db5983065 (patch)
treeff8a0ee5782486ac29b7beff7869f63d78e47e1e /layouts/home.html
parent6efa4fb798ce9be931e8fcd6d8d9c9727b711082 (diff)
Fix a Rubocop predicate name problem
Diffstat (limited to 'layouts/home.html')
-rw-r--r--layouts/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/home.html b/layouts/home.html
index 693f79df..f3748154 100644
--- a/layouts/home.html
+++ b/layouts/home.html
@@ -9,7 +9,7 @@
<%= render '/header.*' %>
<%= yield %>
<%= render '/docsearch.*' %>
- <% if is_production? and ENV['CI_COMMIT_REF_NAME'] == ENV['CI_DEFAULT_BRANCH'] %>
+ <% if production? and ENV['CI_COMMIT_REF_NAME'] == ENV['CI_DEFAULT_BRANCH'] %>
<%# Add analytics only in production %>
<%= render '/analytics.*' %>
<% end %>