From 871c9c60c4a366c6dbb8a1a2e4e44760eff43a24 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Wed, 20 Aug 2014 13:17:13 -0300 Subject: [PATCH] limit lobby notes by profile --- plugins/notification/controllers/notification_plugin_profile_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/notification/controllers/notification_plugin_profile_controller.rb b/plugins/notification/controllers/notification_plugin_profile_controller.rb index 20d081a..1827c0c 100644 --- a/plugins/notification/controllers/notification_plugin_profile_controller.rb +++ b/plugins/notification/controllers/notification_plugin_profile_controller.rb @@ -18,7 +18,7 @@ class NotificationPluginProfileController < ProfileController end def index - @events = current_person.lobby_notes + @events = current_person.lobby_notes.find(:all, :conditions => {:profile => profile } ) @event = NotificationPlugin::LobbyNoteContent.new end -- libgit2 0.21.2