Moved urls for getResource to repository helper