Commit 5be306c8218e5ceac99729dc7a63257ff791884e

Authored by Leandro Santos
1 parent aef06801

avoid double render

plugins/notification/controllers/notification_plugin_profile_controller.rb
... ... @@ -12,8 +12,9 @@ class NotificationPluginProfileController < ProfileController
12 12  
13 13 if request.xhr?
14 14 render :partial => 'event', :collection => @events
  15 + else
  16 + render :file => 'notification_plugin_profile/lobby_notes', :layout => 'embed'
15 17 end
16   - render :file => 'notification_plugin_profile/lobby_notes', :layout => 'embed'
17 18 end
18 19  
19 20 def index
... ...