mocked out view and edit location routes