Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No need for promo user decorator

This is because core/config/initializers/user_class_extensions now deals
with setting up the roles association
  • Loading branch information...
commit f2d055638eea2fc68f07a3bab9230a2ac04d6dd0 1 parent b4c05ed
@radar radar authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 promo/app/models/spree/user_decorator.rb
View
5 promo/app/models/spree/user_decorator.rb
@@ -1,5 +0,0 @@
-if Spree.user_class
- Spree.user_class.class_eval do
- has_and_belongs_to_many :roles, :class_name => "Spree::Role", :foreign_key => :user_id, :join_table => "spree_roles_users"
- end
-end
Please sign in to comment.
Something went wrong with that request. Please try again.