aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/simple_json_exporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/simple_json_exporter.rb b/app/models/simple_json_exporter.rb
index 7b031857f..8c44c149a 100644
--- a/app/models/simple_json_exporter.rb
+++ b/app/models/simple_json_exporter.rb
@@ -141,7 +141,7 @@ class SimpleJsonExporter < SimpleExporter
@current_scope ||= []
node = Node.new({name: name.to_s, scope: @current_scope.dup}.update(opts))
yield node.configuration
- @current_scope.push node
+ @nodes.push node
end
def add_nodes name, opts={}, &block