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/feedback.html | |
parent | 6efa4fb798ce9be931e8fcd6d8d9c9727b711082 (diff) |
Fix a Rubocop predicate name problem
Diffstat (limited to 'layouts/feedback.html')
-rw-r--r-- | layouts/feedback.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/feedback.html b/layouts/feedback.html index b1c44e7b..6a706982 100644 --- a/layouts/feedback.html +++ b/layouts/feedback.html @@ -15,7 +15,7 @@ <a class="help-and-feedback-link" href="<%= edit_on_gitlab(@item) %>" target="_blank" rel="noopener noreferrer">Edit this page</a> to fix an error or add an improvement in a merge request<br> <a class="help-and-feedback-link" href="https://gitlab.com/gitlab-org/gitlab/-/issues/new?issue[description]=Link%20the%20doc%20and%20describe%20what%20is%20wrong%20with%20it.%0A%0A%3C!--%20Don%27t%20edit%20below%20this%20line%20--%3E%0A%0A%2Flabel%20~Documentation%20~%22docs%5C-comments%22%20&issue[title]=Docs%20feedback:%20Write%20your%20title" target="_blank" rel="noopener noreferrer">Create an issue</a> to suggest an improvement to this doc<br> <%# Show comments only in production and on the default branch (hide archives) %> - <% if @item[:comments].nil? && is_production? && ENV['CI_COMMIT_REF_NAME'] == ENV['CI_DEFAULT_BRANCH'] %> + <% if @item[:comments].nil? && production? && ENV['CI_COMMIT_REF_NAME'] == ENV['CI_DEFAULT_BRANCH'] %> <% unless @item.identifier.to_s.split('/')[1] == 'ce' %> <a class="help-and-feedback-link" href="#" onclick="loadDisqus();return false;">Show and post comments</a> to review and give feedback on this doc <% end %> |