]> git.openstreetmap.org Git - rails.git/blob - app/models/access_token.rb
Potlatch 1.3b: It's like Potlatch 1.3a without all the bugs
[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