This commit is contained in:
albert
2012-02-24 17:30:57 -05:00
parent 3d3d5b1401
commit c38bee6d16
4 changed files with 5 additions and 3 deletions

View File

@@ -75,6 +75,7 @@ class DText
str = str.gsub(/\bforum #(\d+)/i, %{<a href="/forum_posts/\\1">forum #\\1</a>})
str = str.gsub(/\bcomment #(\d+)/i, %{<a href="/comments/\\1">comment #\\1</a>})
str = str.gsub(/\bpool #(\d+)/i, %{<a href="/pools/\\1">pool #\\1</a>})
str = str.gsub(/\buser #(\d+)/i, %{<a href="/users/\\1">user #\\1</a>})
end
def self.parse_list(str, options = {})