From e925fe622ce803e024ffea73e74719df023d6ce4 Mon Sep 17 00:00:00 2001 From: MrZYX Date: Wed, 6 Apr 2011 16:02:52 +0200 Subject: [PATCH] oh yeah, render nothing on update if we don't want to redirect --- app/controllers/aspects_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/aspects_controller.rb b/app/controllers/aspects_controller.rb index 8452d3e58..d874a6358 100644 --- a/app/controllers/aspects_controller.rb +++ b/app/controllers/aspects_controller.rb @@ -137,6 +137,7 @@ class AspectsController < ApplicationController else flash[:error] = I18n.t 'aspects.update.failure', :name => @aspect.name end + render :nothing => true end def toggle_contact_visibility