Add missing button name set
This commit is contained in:
parent
5e4f4fd456
commit
ee1f3a1f5e
|
@ -1059,6 +1059,7 @@ module StopTime::Controllers
|
||||||
@customer.save
|
@customer.save
|
||||||
if @customer.invalid?
|
if @customer.invalid?
|
||||||
@errors = @customer.errors
|
@errors = @customer.errors
|
||||||
|
@button = "update"
|
||||||
return render :customer_form
|
return render :customer_form
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue