Added condition for items and started with localize
This commit is contained in:
@@ -125,6 +125,6 @@ class ItemsController < ApplicationController
|
||||
|
||||
def item_params
|
||||
# 'user_name' und 'room_name' müssen in die Strong Parameters aufgenommen werden!
|
||||
params.require(:item).permit(:name, :sku, :sticker_id, :serial_number, :price, :notes, :category_id, :user_id, :room_id, :user_name, :room_name)
|
||||
params.require(:item).permit(:name, :sku, :sticker_id, :serial_number, :price, :notes, :category_id, :user_id, :room_id, :user_name, :room_name, :condition)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user