Permalink
Browse files

require 'spree/core' is needed to isolate the Spree namespace. fixes #…

  • Loading branch information...
1 parent 1055d85 commit 8e72d68ceb4be77be1faadc0732da8983cbcb937 @peterberkenbosch peterberkenbosch committed with radar May 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 cmd/lib/spree_cmd/templates/extension/lib/%file_name%/engine.rb.tt
@@ -1,5 +1,6 @@
module <%= class_name %>
class Engine < Rails::Engine
+ require 'spree/core'
engine_name '<%= file_name %>'
isolate_namespace Spree

0 comments on commit 8e72d68

Please sign in to comment.