X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0dba53c0232385f0fd080266f9a5ce3665426293..8dc16bd8dbd362a0e823f8abd989d871ce5de32f:/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