X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0dba53c0232385f0fd080266f9a5ce3665426293..3e180e745c0787aa1d2f1665a12d0378c8816aa7:/app/models/user_token.rb diff --git a/app/models/user_token.rb b/app/models/user_token.rb index dda191187..9a754d344 100644 --- a/app/models/user_token.rb +++ b/app/models/user_token.rb @@ -1,6 +1,8 @@ class UserToken < ActiveRecord::Base belongs_to :user + attr_accessible :referer + after_initialize :set_defaults private