Renamed 'routes' to 'dynamic-routing'
This commit is contained in:
parent
19d3c4bc5c
commit
f3b4e2e39a
@ -1,5 +1,5 @@
|
||||
module.exports = {
|
||||
get routes() {
|
||||
return require('./RoutesHandler');
|
||||
get dynamicRouting() {
|
||||
return require('./dynamic-routing');
|
||||
}
|
||||
};
|
||||
|
@ -254,14 +254,14 @@ settings = {
|
||||
upload(options) {
|
||||
return localUtils.handlePermissions('settings', 'edit')(options)
|
||||
.then(() => {
|
||||
return frontendSettings.routes.activate(options.path);
|
||||
return frontendSettings.dynamicRouting.activate(options.path);
|
||||
});
|
||||
},
|
||||
|
||||
download(options) {
|
||||
return localUtils.handlePermissions('settings', 'browse')(options)
|
||||
.then(() => {
|
||||
return frontendSettings.routes.serve();
|
||||
return frontendSettings.dynamicRouting.serve();
|
||||
});
|
||||
}
|
||||
};
|
||||
|
@ -147,7 +147,7 @@ module.exports = {
|
||||
method: 'edit'
|
||||
},
|
||||
query(frame) {
|
||||
return frontendSettings.routes.activate(frame.file.path);
|
||||
return frontendSettings.dynamicRouting.activate(frame.file.path);
|
||||
}
|
||||
},
|
||||
|
||||
@ -165,7 +165,7 @@ module.exports = {
|
||||
method: 'browse'
|
||||
},
|
||||
query() {
|
||||
return frontendSettings.routes.serve();
|
||||
return frontendSettings.dynamicRouting.serve();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user