Permalink
Browse files

Dup lists when storing old template paths and includes

  • Loading branch information...
1 parent b27b6cd commit ff48b1a316422fabf77f08b7e386cb29c33089ba @lsegal committed Apr 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/yard/server/commands/library_command.rb
@@ -72,8 +72,8 @@ def call(request)
private
def save_default_template_info
- @old_template_paths = Templates::Engine.template_paths
- @old_extra_includes = Templates::Template.extra_includes
+ @old_template_paths = Templates::Engine.template_paths.dup
+ @old_extra_includes = Templates::Template.extra_includes.dup
end
def restore_template_info

0 comments on commit ff48b1a

Please sign in to comment.