class ItemsController < ApplicationController def show @item = Item.find_by_string_id(params[:item], :include => :product) end end