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| %>