1
0
Fork 0
forked from OpenNeo/impress

whoops; if no contact neopets username, return nil

This commit is contained in:
Emi Matchu 2014-04-25 23:04:59 -05:00
parent dd0a3cd350
commit ebb0a75b72

View file

@ -101,7 +101,7 @@ class User < ActiveRecord::Base
end
def contact_neopets_username
contact_neopets_connection.neopets_username
contact_neopets_connection.try(:neopets_username)
end
def self.find_or_create_from_remote_auth_data(user_data)