summaryrefslogtreecommitdiff
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2013-10-19 23:57:34 -0400
committerRobert Speicher <rspeicher@gmail.com>2013-10-19 23:57:34 -0400
commitbb494203d263104e9f2ac13d18c438798f7a99f8 (patch)
tree791d8143b81eddd91c111648fb9e67647f8024a7 /app/helpers/application_helper.rb
parent898e2acd33edbaa3eec689542150272f605330b1 (diff)
downloadgitlab-ce-bb494203d263104e9f2ac13d18c438798f7a99f8.tar.gz
Cover the simple_sanitize helper
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 0e48889ebf8..ab98c894b82 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -192,7 +192,7 @@ module ApplicationHelper
alt: "Sign in with #{provider.to_s.titleize}")
end
- def simple_sanitize str
+ def simple_sanitize(str)
sanitize(str, tags: %w(a span))
end