cartodb-4.29/lib/assets/javascripts/dashboard/data/dataset-url-model.js
2020-06-15 10:58:47 +08:00

18 lines
304 B
JavaScript

const UrlModel = require('dashboard/data/url-model');
/**
* URL for a dataset (standard vis).
*/
const DatasetUrlModel = UrlModel.extend({
edit: function () {
return this.urlToPath();
},
public: function () {
return this.urlToPath('public');
}
});
module.exports = DatasetUrlModel;