Skip to content

Commit

Permalink
to_prepare method is on Spree::Core::Engine.config, not Spree::Core::…
Browse files Browse the repository at this point in the history
…Engine
  • Loading branch information
radar committed May 27, 2012
1 parent 1cc3144 commit 8a35b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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'
Expand Down

0 comments on commit 8a35b5b

Please sign in to comment.