mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
14 lines
No EOL
270 B
Ruby
14 lines
No EOL
270 B
Ruby
require "active_support/core_ext/module/delegation"
|
|
|
|
module Devise
|
|
class TimeInflector
|
|
include ActionView::Helpers::DateHelper
|
|
|
|
class << self
|
|
attr_reader :instance
|
|
delegate :time_ago_in_words, :to => :instance
|
|
end
|
|
|
|
@instance = new
|
|
end
|
|
end |