From ff866f88efbc3896b3c69c6e62b4b6bb54190caf Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sat, 28 Jan 2023 19:09:03 +0100 Subject: [PATCH] Appease the dog overlords --- app/views/user/show_follow.html.haml | 4 ++-- app/views/user/show_follow.turbo_stream.haml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/user/show_follow.html.haml b/app/views/user/show_follow.html.haml index bcd981f0..364d5dcf 100644 --- a/app/views/user/show_follow.html.haml +++ b/app/views/user/show_follow.html.haml @@ -1,7 +1,7 @@ .row.row-cols-1.row-cols-sm-2.row-cols-md-3#users - @users.each do |user| .col.pb-3 - = render 'shared/userbox', user:, type: + = render "shared/userbox", user:, type: - if @more_data_available .d-flex.justify-content-center.justify-content-sm-start#paginator @@ -12,4 +12,4 @@ form: { data: { turbo_stream: true } } - provide(:title, t(".title.#{type}", user: @user.profile.safe_name)) -- parent_layout 'user/profile' +- parent_layout "user/profile" diff --git a/app/views/user/show_follow.turbo_stream.haml b/app/views/user/show_follow.turbo_stream.haml index 013d730a..7719340e 100644 --- a/app/views/user/show_follow.turbo_stream.haml +++ b/app/views/user/show_follow.turbo_stream.haml @@ -1,7 +1,7 @@ = turbo_stream.append "users" do - @users.each do |user| .col.pb-3 - = render 'shared/userbox', user:, type: + = render "shared/userbox", user:, type: = turbo_stream.update "paginator" do - if @more_data_available