From e1e9b53a611640958fc61020bea80d3df547e9a5 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Mon, 13 Jan 2014 21:36:46 +0000 Subject: [PATCH] boxes-helper: fix wrong variable name --- 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 cf069d9..afca758 100644 --- a/app/helpers/boxes_helper.rb +++ b/app/helpers/boxes_helper.rb @@ -227,7 +227,7 @@ module BoxesHelper # DEPRECATED. Do not use this. def import_blocks_stylesheets(options = {}) - @blocks_css_files ||= current_blocks.map{|b|'blocks/' + block.class.name.to_css_class}.uniq + @blocks_css_files ||= current_blocks.map{|block|'blocks/' + block.class.name.to_css_class}.uniq stylesheet_import(@blocks_css_files, options) end def block_css_classes(block) -- libgit2 0.21.2