Sha256: 613292a663558593e01a727b2d080ce2f9a47d6c209e48b8583349d606d9dba9
Contents?: true
Size: 564 Bytes
Versions: 25
Compression:
Stored size: 564 Bytes
Contents
module Spree module Admin class TaxCategoriesController < ResourceController def destroy if @object.mark_deleted! flash.notice = flash_message_for(@object, :successfully_removed) respond_with(@object) do |format| format.html { redirect_to collection_url } format.js { render :partial => "spree/admin/shared/destroy" } end else respond_with(@object) do |format| format.html { redirect_to collection_url } end end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems