Skip to content

Commit

Permalink
Change class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Torq07 committed Feb 14, 2017
1 parent 79569c3 commit 578e68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/old_catalog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def grab_category_info(url)

# Save category products
products = page.css('div.catalog_page_productcell a')
.map{|item| wrap_as_product(product_name:item.text,link:set_url(item['href']) }
.map{ |item| wrap_as_product(product_name:item.text,link: set_url(item['href']) ) }

{products:products,image:image, description:description}
end
Expand Down

0 comments on commit 578e68f

Please sign in to comment.