This commit is contained in:
NyanLinHtut
2019-12-20 15:48:38 +06:30
parent 26edf23b46
commit 10c1ba12af
15 changed files with 709 additions and 100 deletions

View File

@@ -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