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
|
||||
flash[:error] = I18n.t 'aspects.update.failure', :name => @aspect.name
|
||||
end
|
||||
render :nothing => true
|
||||
end
|
||||
|
||||
def toggle_contact_visibility
|
||||
|
|
|
|||
Loading…
Reference in a new issue