This commit is contained in:
2025-01-16 21:37:58 +01:00
parent 2fdd770457
commit 6300273186
2 changed files with 2 additions and 3 deletions

View File

@@ -47,7 +47,6 @@ class QuantitiesController < ApplicationController
render_no_content(@quantity) unless @quantity.update(permitted)
@ancestors = @quantity.ancestors
@quantity.depth = @ancestors.length
@self_and_progenies = @quantity.with_progenies
@before = @self_and_progenies.last.successive
end