Commit e1e9b53a611640958fc61020bea80d3df547e9a5

Authored by Rodrigo Souto
1 parent 88ba5f6e

boxes-helper: fix wrong variable name

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/helpers/boxes_helper.rb
@@ -227,7 +227,7 @@ module BoxesHelper @@ -227,7 +227,7 @@ module BoxesHelper
227 227
228 # DEPRECATED. Do not use this. 228 # DEPRECATED. Do not use this.
229 def import_blocks_stylesheets(options = {}) 229 def import_blocks_stylesheets(options = {})
230 - @blocks_css_files ||= current_blocks.map{|b|'blocks/' + block.class.name.to_css_class}.uniq 230 + @blocks_css_files ||= current_blocks.map{|block|'blocks/' + block.class.name.to_css_class}.uniq
231 stylesheet_import(@blocks_css_files, options) 231 stylesheet_import(@blocks_css_files, options)
232 end 232 end
233 def block_css_classes(block) 233 def block_css_classes(block)