@@ -425,7 +425,7 module ApplicationHelper | |||||
425 | def time_tag(time) |
|
425 | def time_tag(time) | |
426 | text = distance_of_time_in_words(Time.now, time) |
|
426 | text = distance_of_time_in_words(Time.now, time) | |
427 | if @project |
|
427 | if @project | |
428 |
link_to(text, |
|
428 | link_to(text, project_activity_path(@project, :from => User.current.time_to_date(time)), :title => format_time(time)) | |
429 | else |
|
429 | else | |
430 | content_tag('abbr', text, :title => format_time(time)) |
|
430 | content_tag('abbr', text, :title => format_time(time)) | |
431 | end |
|
431 | end |
General Comments 0
You need to be logged in to leave comments.
Login now