]> git.openstreetmap.org Git - rails.git/blob - app/models/access_token.rb
Remove comment saying when these files were generated
[rails.git] / app / models / access_token.rb
1 class AccessToken<OauthToken
2   validates_presence_of :user
3   before_create :set_authorized_at
4   
5 protected 
6   
7   def set_authorized_at
8     self.authorized_at = Time.now
9   end
10 end