From a8fcf9034b4c0ed0d4d3672bf7d86685adda44f3 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Fri, 29 Mar 2024 13:53:23 +0300 Subject: [PATCH] Remove unused user parameter for subscribe/unsubscribe headings --- app/views/diary_entries/subscribe.html.erb | 2 +- app/views/diary_entries/unsubscribe.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/diary_entries/subscribe.html.erb b/app/views/diary_entries/subscribe.html.erb index e18be2b6d..62d734ff2 100644 --- a/app/views/diary_entries/subscribe.html.erb +++ b/app/views/diary_entries/subscribe.html.erb @@ -1,5 +1,5 @@ <% content_for :heading do %> -

<%= t ".heading", :user => @diary_entry.user.display_name %>

+

<%= t ".heading" %>

<% end %> <%= render :partial => "diary_entry_heading", :object => @diary_entry, :as => "diary_entry" %> diff --git a/app/views/diary_entries/unsubscribe.html.erb b/app/views/diary_entries/unsubscribe.html.erb index e18be2b6d..62d734ff2 100644 --- a/app/views/diary_entries/unsubscribe.html.erb +++ b/app/views/diary_entries/unsubscribe.html.erb @@ -1,5 +1,5 @@ <% content_for :heading do %> -

<%= t ".heading", :user => @diary_entry.user.display_name %>

+

<%= t ".heading" %>

<% end %> <%= render :partial => "diary_entry_heading", :object => @diary_entry, :as => "diary_entry" %> -- 2.39.5