Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Commit

Permalink
Remove Around Update Filter
Browse files Browse the repository at this point in the history
Let's worry about user's during the create and destroy process.
Resubscription in this case will fire whenever the user is
touched/updated which can be a little excessive
  • Loading branch information
braidn committed Apr 24, 2015
1 parent 39a5209 commit f40eb93
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/spree/user_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Spree.user_class.class_eval do

after_create :subscribe
around_update :resubscribe
after_destroy :unsubscribe
after_initialize :assign_subscription_default

Expand Down

0 comments on commit f40eb93

Please sign in to comment.