Modify url_for in history_contents.py.

No clue why - but this randomly fails on main. Will keep looking into it - but it wasn't really giving the pretty URL I wanted anyway (though it was working and this still works due to backward compatbility on this route).
This commit is contained in:
John Chilton
2014-06-11 12:37:24 -05:00
parent 7a83f6dee8
commit fd226aad07
@@ -143,7 +143,7 @@ class HistoryContentsController( BaseAPIController, UsesHistoryDatasetAssociatio
'purged': hda.purged,
'hid' : hda.hid,
'history_content_type' : hda.history_content_type,
'url' : url_for( 'history_content', history_id=encoded_history_id, id=encoded_id, type="dataset" ),
'url' : url_for( 'history_content', history_id=encoded_history_id, id=encoded_id ),
}
def __collection_dict( self, trans, dataset_collection_instance, view="collection" ):