adds text_with_links helper and use that in any comment.body in views, adds test to check for malicious injections in comment body
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class Mailer < ApplicationMailer
|
||||
helper :text_with_links
|
||||
|
||||
def comment(comment)
|
||||
@comment = comment
|
||||
|
||||
Reference in New Issue
Block a user