make ajax adapter to use custom view urls