Skip to content

Commit 832519e

Browse files
authored
fix: avoid engine options mutation on mount (#3783)
1 parent 9ab80e8 commit 832519e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/avo/engine.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def mount_avo(at: Avo.configuration.root_path, **options)
7070

7171
scope at do
7272
Avo.plugin_manager.engines.each do |engine|
73-
mount engine[:klass], **engine[:options]
73+
mount engine[:klass], **engine[:options].dup
7474
end
7575
end
7676
end

0 commit comments

Comments
 (0)