Sha256: 04e9c9febcd25e59cec38ea67348194c0286dd187ab9e485d372d820c9caef23
Contents?: true
Size: 382 Bytes
Versions: 7
Compression:
Stored size: 382 Bytes
Contents
module Spree module Api module V1 class AddressesController < Spree::Api::V1::BaseController def show @address = Address.find(params[:id]) end def update @address = Address.find(params[:id]) @address.update_attributes(params[:address]) render :show, :status => 200 end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems