app/models/user.rb in artfully_ose-1.2.0.pre.15 vs app/models/user.rb in artfully_ose-1.2.0.pre.16
- old
+ new
@@ -1,9 +1,12 @@
class User < ActiveRecord::Base
include Ext::DeviseConfiguration
include Ext::Integrations::User
+ devise :token_authenticatable
+ before_save :ensure_authentication_token
+
has_many :shows
has_many :orders
has_many :imports
has_many :discounts