Permalink
Browse files

to_prepare method is on Spree::Core::Engine.config, not Spree::Core::…

…Engine
  • Loading branch information...
1 parent 1cc3144 commit 8a35b5bde7aa69bf6e7d43886ecc4a716f5a5c88 @radar radar committed May 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/config/initializers/user_class_extensions.rb
View
2 core/config/initializers/user_class_extensions.rb
@@ -1,4 +1,4 @@
-Spree::Core::Engine.to_prepare do
+Spree::Core::Engine.config.to_prepare do
if Spree.user_class
Spree.user_class.class_eval do
has_and_belongs_to_many :roles, :join_table => 'spree_roles_users'

0 comments on commit 8a35b5b

Please sign in to comment.