routes cleaning up
This commit is contained in:
1 parent
62d1dd1c2a
commit
cc4a11c717
3 files changed
+4
-4
No files matched your search
@@ -3,7 +3,7 @@ import {json} from './';
|
||||
|
||||
import {getSchedule, getScheduleList, populateSchedule} from '../core/schedule';
|
||||
|
||||
module.exports = function (app) {
|
||||
export default function (app) {
|
||||
app.use(
|
||||
route.get('/schedule/list', json(
|
||||
function *() {
|
||||
@@ -35,4 +35,4 @@ module.exports = function (app) {
|
||||
}
|
||||
))
|
||||
);
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user