@@ -791,7 +791,7 module ApplicationHelper | |||
|
791 | 791 | case prefix |
|
792 | 792 | when nil |
|
793 | 793 | if oid.to_s == identifier && |
|
794 |
|
|
|
794 | issue = Issue.visible.find_by_id(oid) | |
|
795 | 795 | anchor = comment_id ? "note-#{comment_id}" : nil |
|
796 | 796 | link = link_to(h("##{oid}#{comment_suffix}"), |
|
797 | 797 | {:only_path => only_path, :controller => 'issues', |
@@ -810,7 +810,7 module ApplicationHelper | |||
|
810 | 810 | :class => 'version' |
|
811 | 811 | end |
|
812 | 812 | when 'message' |
|
813 |
if message = Message.visible. |
|
|
813 | if message = Message.visible.find_by_id(oid) | |
|
814 | 814 | link = link_to_message(message, {:only_path => only_path}, :class => 'message') |
|
815 | 815 | end |
|
816 | 816 | when 'forum' |
General Comments 0
You need to be logged in to leave comments.
Login now