oh yeah, render nothing on update if we don't want to redirect

This commit is contained in:
MrZYX 2011-04-06 16:02:52 +02:00
parent 95de299e6e
commit e925fe622c

View file

@ -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