Add and apply Style/RedundantParentheses rule

Parentheses make the code harder to read in these cases.
This commit is contained in:
Javi Martín
2021-08-11 15:06:25 +02:00
parent 5abd0466e2
commit 0be6eb9512
7 changed files with 16 additions and 15 deletions

View File

@@ -13,10 +13,10 @@
<%= raw setting["html.per_page_code_head"] %>
</head>
<body class="<%= yield (:body_class) %> public">
<body class="<%= yield(:body_class) %> public">
<%= raw setting["html.per_page_code_body"] %>
<div class="wrapper <%= yield (:wrapper_class) %>">
<div class="wrapper <%= yield(:wrapper_class) %>">
<%= render "layouts/header", with_subnavigation: true %>
<% if request.headers["User-Agent"] =~ /MSIE/ && cookies["ie_alert_closed"] != "true" %>