Initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user