From d07822c628361204bf3707a8bbcc7d87bf4fbd42 Mon Sep 17 00:00:00 2001 From: David Bourguignon Date: Mon, 30 Jan 2012 09:38:45 +0100 Subject: [PATCH] still need support for Rails 2.3 --- lib/paiement_cic/form_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/paiement_cic/form_helper.rb b/lib/paiement_cic/form_helper.rb index da92a68..15dbbff 100644 --- a/lib/paiement_cic/form_helper.rb +++ b/lib/paiement_cic/form_helper.rb @@ -22,6 +22,7 @@ module PaiementCic::FormHelper ' - html.html_safe + + html.respond_to?(:html_safe) ? html.html_safe : html end end