Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 180 Bytes
class OpenidToken < AccessToken
before_save :format_identifier
def format_identifier
self.key = self.key.to_s.normalize_identifier unless self.key.blank?
end
end