Updated view to use correct url