X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0dba53c0232385f0fd080266f9a5ce3665426293..701325e9ef6720a16646c7218010e33b5c58d544:/app/models/user_token.rb?ds=sidebyside 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