adejs/controllers/settings/urls.js

10 lines
444 B
JavaScript

const url = require('create-url').url;
module.exports = [
url('/settings', 'accountSettings', 'settings'),
url('/settings/account', 'accountSettings', 'accountSettings'),
url('/settings/calendar', 'calendarSettings', 'calendarSettings'),
url('/accountSettingsTarget/', 'accountSettingsTarget', 'accountSettingsTarget', 'POST'),
url('/calendarSettingsTarget/', 'calendarSettingsTarget', 'calendarSettingsTarget', 'POST'),
]