Sha256: 8b3f4481839f4d75bcf5c17045f5e801b42a62fd747f399036a178f261acf7c8
Contents?: true
Size: 294 Bytes
Versions: 5
Compression:
Stored size: 294 Bytes
Contents
class Api::TaxonomiesController < Api::BaseController public def destroy puts params[:id] @object=Spree::Taxonomy.find_by_id(params[:id]) @object.destroy if @object.destroy render :text => "Status => Success", :status => 201 end end end
Version data entries
5 entries across 5 versions & 4 rubygems