Laravel mendapatkan URL lama

str_replace(url('/'), '', url()->previous())
Determined Dolphin