From f6f5a62f698a70045b8ae56d50570b1f3da8416d Mon Sep 17 00:00:00 2001 From: movilla Date: Sun, 14 Oct 2012 00:01:46 +0200 Subject: [PATCH] Fix show post Community Spotlight on stream --- Changelog.md | 12 +++++++++++- lib/stream/multi.rb | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 88291cfd5..5541af70b 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,7 +1,17 @@ # 0.0.2.0pre -* Fix javascripts problem with read/unread notifications. [#3656](https://github.com/diaspora/diaspora/pull/3656) +## Refactor + +* MessagesController. [#3657](https://github.com/diaspora/diaspora/pull/3657) + +## Add Features + * Add password_confirmation field to registration page. [#3647](https://github.com/diaspora/diaspora/pull/3647) + +## Bug Fixes + +* Fix error with show post Community Spotlight. [#3658](https://github.com/diaspora/diaspora/pull/3658) +* Fix javascripts problem with read/unread notifications. [#3656](https://github.com/diaspora/diaspora/pull/3656) * Fix error with open/close registrations. [#3649](https://github.com/diaspora/diaspora/pull/3649) * Fix javascripts error in invitations facebox. [#3638](https://github.com/diaspora/diaspora/pull/3638) * Fix css overflow problem in aspect dropdown on welcome page. [#3637](https://github.com/diaspora/diaspora/pull/3637) diff --git a/lib/stream/multi.rb b/lib/stream/multi.rb index 319f726c9..19a8ec391 100644 --- a/lib/stream/multi.rb +++ b/lib/stream/multi.rb @@ -77,6 +77,6 @@ class Stream::Multi < Stream::Base # @return [Boolean] def include_community_spotlight? - AppConfig.environment.community_spotlight.enable? && user.show_community_spotlight_in_stream? + AppConfig.settings.community_spotlight.enable? && user.show_community_spotlight_in_stream? end end