Created
April 27, 2011 08:24
-
-
Save hemalich/943916 to your computer and use it in GitHub Desktop.
/views/items
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
member(@item) do |m| | |
m.link "self", item_url(@item) | |
m.values { |v| | |
v.name @item.name | |
v.price @item.price} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment