mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:39:52 +01:00
don't need this function
This commit is contained in:
parent
339ddf5204
commit
607574cfce
1 changed files with 0 additions and 8 deletions
|
@ -47,14 +47,6 @@ module ApplicationHelper
|
|||
tooltip time_ago_in_words(subject.created_at), localize(subject.created_at), placement
|
||||
end
|
||||
|
||||
def timestamp_tooltip(subject, placement = "bottom")
|
||||
t = timestamp_tooltip subject, placement
|
||||
unless subject.user.nil? or (subject.respond_to?(:author_is_anonymous) and subject.author_is_anonymous)
|
||||
t = content_tag(:a, t, {href: show_user_question_path(subject.user.screen_name, subject.id)})
|
||||
end
|
||||
t
|
||||
end
|
||||
|
||||
def hidespan(body, hide)
|
||||
content_tag(:span, body, class: "hidden-#{hide}")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue