def show
      respond_to do |format|
        format.html { render :show }
        format.json { render json: record }
      end
    end
def show
      respond_to do |format|
        format.html { render :show }
        format.json { render json: record }
      end
    end
GET /model/1