add correct post and get path for _inventory.erb