Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit d4d7e972cd4968fa5e394ef9fde03b24be3c5282 1 parent b96d58f
@radar radar authored
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.