Permalink
Browse files

Merged changes

  • Loading branch information...
2 parents d12f583 + 9edccb1 commit 1630861eeff604abfd89f6b4ed279f5521f3e344 @Bounga committed Dec 10, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/flash_helper.rb
View
@@ -49,7 +49,7 @@ def display_flashes(message = @@flash_options[:default_message])
elsif flash[:errors]
level = @@flash_options[:errors_class]
if flash[:errors].instance_of? ActiveRecord::Errors
- flash_to_display = message
+ flash_to_display = message.dup
flash_to_display << activerecord_error_list(flash[:errors])
else
flash_to_display = flash[:errors]

0 comments on commit 1630861

Please sign in to comment.