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