view now gets item with details

This commit is contained in:
Senad Uka
2015-01-24 09:44:43 +01:00
parent f5eca4a758
commit 64fb9a4ee5
8 changed files with 53 additions and 9 deletions

View File

@@ -21,7 +21,6 @@ end
# gets single item for detailed display (like comments etc. ) # TODO: change when comments are added
get '/item/:id' do |id_s|
item = Item.find(id_s.to_i)
prepare_items_for_mass_display(item)
end