Permalink
Browse files

Reverse order of isolate_namespace and engine_name call in extension …

…engine template

This is a potential fix for #1580
  • Loading branch information...
1 parent b96d58f commit d4d7e972cd4968fa5e394ef9fde03b24be3c5282 @radar radar committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmd/lib/spree_cmd/templates/extension/lib/%file_name%/engine.rb.tt
@@ -1,8 +1,8 @@
module <%= class_name %>
class Engine < Rails::Engine
require 'spree/core'
- engine_name '<%= file_name %>'
isolate_namespace Spree
+ engine_name '<%= file_name %>'
config.autoload_paths += %W(#{config.root}/lib)

0 comments on commit d4d7e97

Please sign in to comment.