app/services/flexite/entry/update_service.rb in flexite-0.0.2 vs app/services/flexite/entry/update_service.rb in flexite-0.0.3
- old
+ new
@@ -14,9 +14,10 @@
private
protected
def failure
+ save_errors
Result.new(success: false, endpoint: { status: 400 })
end
def success
Result.new(flash: { type: :success, message: 'Entry was updated!' })