Fix view url resolution for result redirect

Namespace must be defined