Permalink
Browse files

Markdown clean up (get it? down? up? har har)

  • Loading branch information...
1 parent 09577b7 commit 1f66cef4f778d70bcbecfd4ef8faeef06fe3ed96 @elight committed Mar 15, 2013
Showing with 8 additions and 12 deletions.
  1. +8 −12 README.md
View
@@ -109,25 +109,21 @@ module OrderRepository
data(order).reload
return item
end
+end
- module ItemRepository
- extend Edr::AR::Repository
- set_model_class Item
+module ItemRepository
+ extend Edr::AR::Repository
+ set_model_class Item
- def self.create_item order, attrs
- item = Item.build(attrs)
- item.order_id = order.id
- persist item
- end
+ def self.create_item order, attrs
+ item = Item.build(attrs)
+ item.order_id = order.id
+ persist item
end
end
```
-# STEP5: Profit
-# --------------------------------------------------
-```
-
## Installation
Add this line to your application's Gemfile:

0 comments on commit 1f66cef

Please sign in to comment.