-
This commit is contained in:
@@ -86,7 +86,7 @@ class Inventory::InventoryDefinitionsController < BaseInventoryController
|
||||
inventory = InventoryDefinition.find_by_item_code(params[:item_code])
|
||||
@inventory_definition.destroy
|
||||
respond_to do |format|
|
||||
format.html { redirect_to inventory_definitions_url, notice: 'Inventory definition was successfully destroyed.' }
|
||||
format.html { redirect_to inventory_inventory_definitions_url, notice: 'Inventory definition was successfully destroyed.' }
|
||||
format.json { head :no_content }
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user