Commit 871c9c60c4a366c6dbb8a1a2e4e44760eff43a24

Authored by Leandro Santos
1 parent 3a2ff4c4

limit lobby notes by profile

plugins/notification/controllers/notification_plugin_profile_controller.rb
@@ -18,7 +18,7 @@ class NotificationPluginProfileController < ProfileController @@ -18,7 +18,7 @@ class NotificationPluginProfileController < ProfileController
18 end 18 end
19 19
20 def index 20 def index
21 - @events = current_person.lobby_notes 21 + @events = current_person.lobby_notes.find(:all, :conditions => {:profile => profile } )
22 @event = NotificationPlugin::LobbyNoteContent.new 22 @event = NotificationPlugin::LobbyNoteContent.new
23 end 23 end
24 24