Sha256: 95c3a61002e91f207dd1123ab16780a8bf4e8000361617d1c381986604517735
Contents?: true
Size: 561 Bytes
Versions: 66
Compression:
Stored size: 561 Bytes
Contents
module Spree module Admin class TaxCategoriesController < ResourceController def destroy if @object.destroy flash[:success] = 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
66 entries across 66 versions & 1 rubygems