protected function resolveDestination($destination)
    {
        foreach ($this->router->getCurrentRoute()->parameters() as $key => $value) {
            $destination = str_replace("{{$key}}", $value, $destination);
        }

        // Remove non existent optional params from destination
        // but after existent params has been resolved
        $destination = preg_replace('/\/{[\w-_]+}/', '', $destination);

        return $destination;
    }