Module: TimeHelper

Defined in:
app/helpers/time_helper.rb

Instance Method Summary collapse

Instance Method Details

#date_with_tooltip(time) ⇒ Object


2
3
4
# File 'app/helpers/time_helper.rb', line 2

def date_with_tooltip(time)
  ('span', l(time.to_date), title: l(time))
end