This commit is contained in:
albert
2013-03-21 16:23:14 -07:00
parent d43698cfff
commit ebb2c353e9

View File

@@ -75,6 +75,7 @@ class DText
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>})
str = str.gsub(/\bartist #(\d+)/i, %{<a href="/artists/\\1">user #\\1</a>})
end
def self.parse_list(str, options = {})