diff --git a/app/views/shared/_right_sections.html.haml b/app/views/shared/_right_sections.html.haml index fb674d98c..622ef09bd 100644 --- a/app/views/shared/_right_sections.html.haml +++ b/app/views/shared/_right_sections.html.haml @@ -69,7 +69,7 @@ .content != t('bookmarklet.explanation', :link => link_to(t('bookmarklet.explanation_link_text'), bookmarklet)) -- if @stream.has_communtiy_spotlight? +- if @stream.has_community_spotlight? .section .title.no_icon %h5 diff --git a/lib/stream/base.rb b/lib/stream/base.rb index 036a0315e..9013671fa 100644 --- a/lib/stream/base.rb +++ b/lib/stream/base.rb @@ -14,10 +14,10 @@ class Stream::Base end # @return [Boolean] - def has_communtiy_spotlight? + def has_community_spotlight? random_community_spotlight_member.present? end - + #requied to implement said stream def link(opts={}) 'change me in lib/base_stream.rb!'