oh yeah, render nothing on update if we don't want to redirect
This commit is contained in:
parent
95de299e6e
commit
e925fe622c
1 changed files with 1 additions and 0 deletions
|
|
@ -137,6 +137,7 @@ class AspectsController < ApplicationController
|
||||||
else
|
else
|
||||||
flash[:error] = I18n.t 'aspects.update.failure', :name => @aspect.name
|
flash[:error] = I18n.t 'aspects.update.failure', :name => @aspect.name
|
||||||
end
|
end
|
||||||
|
render :nothing => true
|
||||||
end
|
end
|
||||||
|
|
||||||
def toggle_contact_visibility
|
def toggle_contact_visibility
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue