Add missing button name set

This commit is contained in:
Paul van Tilburg 2015-06-20 18:31:57 +02:00
parent 5e4f4fd456
commit ee1f3a1f5e
1 changed files with 1 additions and 0 deletions

View File

@ -1059,6 +1059,7 @@ module StopTime::Controllers
@customer.save
if @customer.invalid?
@errors = @customer.errors
@button = "update"
return render :customer_form
end
end