From e2fa15004755f5d9fe0f04dca55c5597d9e26e21 Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Thu, 19 Mar 2026 06:27:22 +0000 Subject: [PATCH] Remove empty control block --- .herb.yml | 2 -- app/views/users/show.html.erb | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.herb.yml b/.herb.yml index 88783eb11..0a67658c6 100644 --- a/.herb.yml +++ b/.herb.yml @@ -6,8 +6,6 @@ linter: enabled: false erb-no-duplicate-branch-elements: enabled: false - erb-no-empty-control-flow: - enabled: false erb-no-instance-variables-in-partials: enabled: false erb-no-interpolated-class-names: diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 405a84d99..f6ade01c2 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -241,8 +241,7 @@
<%= render "sidebar_section", :edit_title => t(".change_image"), - :edit_path => profile_image_path do %> - <% end %> + :edit_path => profile_image_path %> <%= render "sidebar_section", :present => @user.home_location_name&.strip.present?, :edit_title => t(".edit_location"), -- 2.39.5