From 18a8487dd06c08c5d55bcfe4347fd4ff78082fec Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 19 Jul 2013 15:51:33 -0300 Subject: [PATCH] rails3: fix deprecated reference to @controller --- app/helpers/boxes_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/boxes_helper.rb b/app/helpers/boxes_helper.rb index 2737565..6369535 100644 --- a/app/helpers/boxes_helper.rb +++ b/app/helpers/boxes_helper.rb @@ -99,7 +99,7 @@ module BoxesHelper unless block.visible? options[:title] = _("This block is invisible. Your visitors will not see it.") end - if @controller.send(:content_editor?) + if controller.send(:content_editor?) result = filter_html(result, block) end box_decorator.block_target(block.box, block) + -- libgit2 0.21.2