Commit 18a8487dd06c08c5d55bcfe4347fd4ff78082fec

Authored by Antonio Terceiro
1 parent 0d6d8ba5

rails3: fix deprecated reference to @controller

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/boxes_helper.rb
... ... @@ -99,7 +99,7 @@ module BoxesHelper
99 99 unless block.visible?
100 100 options[:title] = _("This block is invisible. Your visitors will not see it.")
101 101 end
102   - if @controller.send(:content_editor?)
  102 + if controller.send(:content_editor?)
103 103 result = filter_html(result, block)
104 104 end
105 105 box_decorator.block_target(block.box, block) +
... ...