lib/spurs/flash/helper.rb in spurs-0.0.1 vs lib/spurs/flash/helper.rb in spurs-0.0.2
- old
+ new
@@ -40,10 +40,11 @@
alert_content.concat(block_content)
end
content_tag(:div, alert_content.html_safe, :class => "alert alert-block #{extra_class}")
end
+
##
# Generate HTML for flash messages
# = Examples
#
# spurs_flash_helper
@@ -63,10 +64,10 @@
flash.each do |fl|
process_flash_message(fl, message_hash)
end
flash.clear
- #Rails.logger.info("MESSAGE HASH >>#{message_hash.to_json}")
+ Rails.logger.info("MESSAGE HASH >>#{message_hash.to_json}")
#process the message hash now
content = String.new
message_hash.each do |k, v_arr|
\ No newline at end of file