From 193c1a5bf381b5ffd5f187f6d643048958a5802b Mon Sep 17 00:00:00 2001 From: drusepth Date: Sat, 3 Dec 2022 17:26:06 -0800 Subject: [PATCH] minor qa polish --- app/models/timelines/timeline.rb | 4 ++++ app/views/content/display/_tailwind_foldered_index.html.erb | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/models/timelines/timeline.rb b/app/models/timelines/timeline.rb index 0df5bfd8..f1919509 100644 --- a/app/models/timelines/timeline.rb +++ b/app/models/timelines/timeline.rb @@ -57,4 +57,8 @@ class Timeline < ApplicationRecord def initialize_first_event timeline_events.create(title: "Untitled Event", position: 1) end + + def cached_word_count + 0 # until we implement it :) + end end diff --git a/app/views/content/display/_tailwind_foldered_index.html.erb b/app/views/content/display/_tailwind_foldered_index.html.erb index 04be742b..40d27692 100644 --- a/app/views/content/display/_tailwind_foldered_index.html.erb +++ b/app/views/content/display/_tailwind_foldered_index.html.erb @@ -411,7 +411,7 @@

- Showing <%= pluralize content.count, 'pages' %> + Showing <%= pluralize content.count, 'page' %>