From 98d25956070ce6fea468d693efcf1083d7899027 Mon Sep 17 00:00:00 2001 From: qinmingyuan Date: Tue, 5 Dec 2023 11:29:14 +0800 Subject: [PATCH] gemfiel --- app/views/application/_notice_navbar.html.erb | 2 +- app/views/me/_notice_navbar.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/application/_notice_navbar.html.erb b/app/views/application/_notice_navbar.html.erb index 5b02298..7f01805 100644 --- a/app/views/application/_notice_navbar.html.erb +++ b/app/views/application/_notice_navbar.html.erb @@ -1,5 +1,5 @@ <% if defined?(current_user) && current_user %> - <%= link_to({ controller: 'notice/my/notifications' }, class: 'navbar-item', id: 'notify_show') do %> + <%= link_to({ controller: 'notice/my/notifications' }, id: 'notice_show', class: 'navbar-item') do %> <%= current_user.unread_count %> <% end %> diff --git a/app/views/me/_notice_navbar.html.erb b/app/views/me/_notice_navbar.html.erb index 591a68f..b1e0e60 100644 --- a/app/views/me/_notice_navbar.html.erb +++ b/app/views/me/_notice_navbar.html.erb @@ -1,4 +1,4 @@ -<%= link_to({ controller: 'notice/me/notifications' }, data: { turbo_frame: '_top' }, id: 'notify_show', class: 'navbar-item') do %> +<%= link_to({ controller: 'notice/me/notifications' }, data: { turbo_frame: '_top' }, id: 'notice_show', class: 'navbar-item') do %> <%= current_member.unread_count %> <% end %>