app/models/contact.rb in e9_crm-0.1.16 vs app/models/contact.rb in e9_crm-0.1.17
- old
+ new
@@ -182,10 +182,10 @@
mount_uploader :avatar, AvatarUploader
def thumb(options = {}); self.avatar end
# The parameters for building the JS template for associated users
def self.users_build_parameters # :nodoc:
- { :status => User::Status::Prospect }
+ { :role => :prospect }
end
##
# Setting company name will attempt to find a Company or create a new one
#