From 9fa099024f201c12b7eaa71869c5469cc0f7f3af Mon Sep 17 00:00:00 2001 From: "Dominik M. Kwiatek" Date: Sun, 17 May 2020 21:09:09 +0100 Subject: [PATCH] Fix linter errors --- app/views/settings/_profile.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/settings/_profile.haml b/app/views/settings/_profile.haml index d01b3ddf..6d46c53f 100644 --- a/app/views/settings/_profile.haml +++ b/app/views/settings/_profile.haml @@ -48,10 +48,10 @@ = f.check_box :show_foreign_themes, label: 'Render other user themes when visiting their profile' - - for attrib in %i(profile_picture_x profile_picture_y profile_picture_w profile_picture_h) + - %i[profile_picture_x profile_picture_y profile_picture_w profile_picture_h].each do |attrib| = f.hidden_field attrib, id: attrib - - for attrib in %i(profile_header_x profile_header_y profile_header_w profile_header_h) + - %i[profile_header_x profile_header_y profile_header_w profile_header_h].each do |attrib| = f.hidden_field attrib, id: attrib = f.submit t('views.actions.save'), class: 'btn btn-primary'