Sha256: ec0c471eb185e396835ce1e8f3b7a7c452f40c945f400ee426815c9e296ca936
Contents?: true
Size: 203 Bytes
Versions: 22
Compression:
Stored size: 203 Bytes
Contents
class Apiv1::Taxons::DestroyController < Admin::BaseController def destroy render json: { taxon: _taxon.destroy } end private def _taxon @taxon ||= Apiv1::Taxon.find params[:id] end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
cloudrider-0.2.0 | generica/app/controllers/apiv1/taxons/destroy_controller.rb |
cloudrider-0.1.3 | generica/app/controllers/apiv1/taxons/destroy_controller.rb |