diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-17 18:02:29 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-17 18:02:29 +0200 |
| commit | 93831ac04e4e44f60397572dd0172c456781de30 (patch) | |
| tree | b4658bbeb9f3977b85118b163273352812b5227e /app/models | |
| parent | d753bc463bee67b562fa8cc260db88916d51d70d (diff) | |
Fix computed_unique_name code and consumer
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/node.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/node.rb b/app/models/node.rb index 717f5b4..4f585e1 100644 --- a/app/models/node.rb +++ b/app/models/node.rb | |||
| @@ -269,7 +269,7 @@ class Node < ApplicationRecord | |||
| 269 | end | 269 | end |
| 270 | 270 | ||
| 271 | def computed_unique_name | 271 | def computed_unique_name |
| 272 | path = path_to_root[1..-1].join("/") # excluding root | 272 | path_to_root[1..-1].join("/") # excluding root |
| 273 | end | 273 | end |
| 274 | 274 | ||
| 275 | def current_unique_name | 275 | def current_unique_name |
