24 lines
484 B
JavaScript
24 lines
484 B
JavaScript
|
/**
|
||
|
* URLs associated with the dashboard.
|
||
|
*/
|
||
|
cdb.common.DashboardUrl = cdb.common.Url.extend({
|
||
|
|
||
|
datasets: function() {
|
||
|
return new cdb.common.DashboardDatasetsUrl({
|
||
|
base_url: this.urlToPath('datasets')
|
||
|
});
|
||
|
},
|
||
|
|
||
|
maps: function() {
|
||
|
return new cdb.common.DashboardVisUrl({
|
||
|
base_url: this.urlToPath('maps')
|
||
|
});
|
||
|
},
|
||
|
|
||
|
deepInsights: function() {
|
||
|
return new cdb.common.DashboardVisUrl({
|
||
|
base_url: this.urlToPath('deep-insights')
|
||
|
});
|
||
|
}
|
||
|
});
|