Navigation Menu

Skip to content

Commit

Permalink
Reverse order of isolate_namespace and engine_name call in extension …
Browse files Browse the repository at this point in the history
…engine template

This is a potential fix for #1580
  • Loading branch information
radar committed Jun 4, 2012
1 parent 76a807a commit 655d70f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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)

Expand Down

0 comments on commit 655d70f

Please sign in to comment.