master
class Api::ItemsController < ApplicationController respond_to :json def index respond_with Item.all end def show respond_with Item.find(params[:id]) end end