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.3.23 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.3.22 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.3.21 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.3.20 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.3.0 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.18 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.15 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.14 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.12 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.11 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.10 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.9 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.8 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.7 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.6 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.5 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.4 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.3 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.2 generica/app/controllers/apiv1/taxons/destroy_controller.rb
cloudrider-0.2.1 generica/app/controllers/apiv1/taxons/destroy_controller.rb