From bf10e41c1eb480032231df741574d9c0dd31de39 Mon Sep 17 00:00:00 2001 From: songtianlun Date: Sun, 26 Jan 2025 12:35:55 +0800 Subject: [PATCH] fix: update view variable names for clarity - Rename page view variables for consistency: - `busuanzi_value_page_pv` to `busuanzi_page_pv` - `busuanzi_value_page_uv` to `busuanzi_page_uv` - `busuanzi_value_site_pv` to `busuanzi_site_pv` - `busuanzi_value_site_uv` to `busuanzi_site_uv` These changes improve the readability of the code by removing redundant parts of the variable names. This ensures that variables accurately reflect their purpose without unnecessary prefixes. The functionality remains unchanged. --- app/views/home/index.html.erb | 2 +- app/views/layouts/application.html.erb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 5072bb7..3d90bc3 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -58,7 +58,7 @@ -
+
<%= link_to arts_path, class: "btn btn-primary btn-lg gap-2" do %> View All Weather Arts diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index b66e56f..bf4b014 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -78,13 +78,13 @@
- Page Views: + Page Views: | - Page Visitors: + Page Visitors: | - Total Views: + Total Views: | - Total Visitors: + Total Visitors: