[#345] fix "No route matches missing required keys: [:id]" error