From 1cbc436d72157d10bdf9754f3fa7df2933cfc18d Mon Sep 17 00:00:00 2001 From: Faheem Patel Date: Fri, 16 Aug 2024 12:07:47 +0100 Subject: [PATCH] Fix typo --- app/helpers/landing_helper.rb | 4 ++-- app/views/resources/_featured_cards.html.erb | 2 +- app/views/resources/_resources_list.html.erb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/helpers/landing_helper.rb b/app/helpers/landing_helper.rb index c2bde10d..4285a4f9 100644 --- a/app/helpers/landing_helper.rb +++ b/app/helpers/landing_helper.rb @@ -1,5 +1,5 @@ module LandingHelper - def featured_downlodable_resource_cards + def featured_downloadable_resource_cards recitations = ResourceContent.approved.recitations with_segments = recitations.with_segments.count total_recitations = recitations.count @@ -30,7 +30,7 @@ def featured_downlodable_resource_cards ] end - def downlodable_resource_cards + def downloadable_resource_cards translations = ResourceContent.approved.translations wbw_translation = translations.one_word.count ayah_translation = translations.one_verse.count diff --git a/app/views/resources/_featured_cards.html.erb b/app/views/resources/_featured_cards.html.erb index 6e17af99..d8c5a3c7 100644 --- a/app/views/resources/_featured_cards.html.erb +++ b/app/views/resources/_featured_cards.html.erb @@ -1,5 +1,5 @@
- <% featured_downlodable_resource_cards.each do |card| %> + <% featured_downloadable_resource_cards.each do |card| %>