Commit c8cd03db8c57bdfac8f6a0ea0eb5c34ca69df3f1

Authored by Victor Costa
1 parent fccf3555

rails3: fix products_block

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/models/products_block.rb
@@ -2,6 +2,7 @@ class ProductsBlock < Block @@ -2,6 +2,7 @@ class ProductsBlock < Block
2 2
3 include ActionView::Helpers::TagHelper 3 include ActionView::Helpers::TagHelper
4 include ActionView::Helpers::UrlHelper 4 include ActionView::Helpers::UrlHelper
  5 + include ActionView::Helpers
5 include Rails.application.routes.url_helpers 6 include Rails.application.routes.url_helpers
6 7
7 def self.description 8 def self.description
@@ -28,7 +29,7 @@ class ProductsBlock < Block @@ -28,7 +29,7 @@ class ProductsBlock < Block
28 ), 29 ),
29 :class => 'product' 30 :class => 'product'
30 ) 31 )
31 - } 32 + }.join
32 ) 33 )
33 end 34 end
34 35