Commit 897dda033d2d7e2a6a406c105f9f17ee08481645

Authored by MoisesMachado
1 parent 199589e2

ActionItem139: added a folder blocks to hold the blocks stylesheets


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1286 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
app/helpers/boxes_helper.rb
@@ -114,8 +114,8 @@ module BoxesHelper @@ -114,8 +114,8 @@ module BoxesHelper
114 end 114 end
115 115
116 def import_blocks_stylesheets 116 def import_blocks_stylesheets
117 - stylesheet_import( current_blocks.map(&:css_class_name).uniq ) + "\n" +  
118 - stylesheet_import( current_blocks.map(&:css_class_name).uniq, :themed_source => true ) 117 + stylesheet_import( current_blocks.map{|b|'blocks/' + b.css_class_name}.uniq ) + "\n" +
  118 + stylesheet_import( current_blocks.map{|b|'blocks/' + b.css_class_name}.uniq, :themed_source => true )
119 end 119 end
120 120
121 end 121 end