Commit c8cd03db8c57bdfac8f6a0ea0eb5c34ca69df3f1
1 parent
fccf3555
Exists in
master
and in
29 other branches
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 | 2 | |
3 | 3 | include ActionView::Helpers::TagHelper |
4 | 4 | include ActionView::Helpers::UrlHelper |
5 | + include ActionView::Helpers | |
5 | 6 | include Rails.application.routes.url_helpers |
6 | 7 | |
7 | 8 | def self.description |
... | ... | @@ -28,7 +29,7 @@ class ProductsBlock < Block |
28 | 29 | ), |
29 | 30 | :class => 'product' |
30 | 31 | ) |
31 | - } | |
32 | + }.join | |
32 | 33 | ) |
33 | 34 | end |
34 | 35 | ... | ... |