aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorJames McKinney <james@slashpoundbang.com>2012-08-23 17:09:40 -0400
committerLouise Crow <louise.crow@gmail.com>2012-11-01 17:13:21 +0000
commitc18fa279771c5c915e77fb4de1cf02b8f9ed7d83 (patch)
treea5be0d9455c23f1318d2902f39977b5f764f34f3 /app/helpers/application_helper.rb
parent70176b099d7ba9b72eafd468063393c45700a893 (diff)
Fix bug where errors were rendered like: <ul>["<li>Please enter a subject</li>"]</ul>
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 b58297094..ab953cb25 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -43,7 +43,7 @@ module ApplicationHelper
end
content_tag(:div,
- content_tag(:ul, error_messages),
+ content_tag(:ul, error_messages.join),
html
)
else