From 01d7b9507b0484250836deb52cfed3011a7790a2 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Fri, 14 Oct 2011 11:17:25 -0700 Subject: [PATCH] DG MS; ajax in the soup --- config/locales/diaspora/en.yml | 2 +- lib/stream/soup.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index ec7689d32..0f72b83fa 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -844,7 +844,7 @@ en: title: "Public Activity" contacts_title: "Recent Posters" soup: - titile: "The Soup" + title: "The Soup" contacts_title: "People in your Soup" users: diff --git a/lib/stream/soup.rb b/lib/stream/soup.rb index f02a7e12d..34ba2a9fb 100644 --- a/lib/stream/soup.rb +++ b/lib/stream/soup.rb @@ -17,6 +17,10 @@ class Stream::Soup < Stream::Base Post.where(:id => post_ids).for_a_stream(max_time, order) end + def ajax_stream? + true + end + private def aspect_posts_ids