|
|
@ -44,7 +44,7 @@ app.use(flash());
|
|
|
|
//var front = require('./routes/front/index')(session);
|
|
|
|
//var front = require('./routes/front/index')(session);
|
|
|
|
var dash = require('./routes/dash/index');
|
|
|
|
var dash = require('./routes/dash/index');
|
|
|
|
var page = require('./routes/dash/pages');
|
|
|
|
var page = require('./routes/dash/pages');
|
|
|
|
//var settingsDashboard = require('./routes/dash/settings');
|
|
|
|
var settings = require('./routes/dash/settings');
|
|
|
|
//var navDashboard = require('./routes/dash/nav');
|
|
|
|
//var navDashboard = require('./routes/dash/nav');
|
|
|
|
//api
|
|
|
|
//api
|
|
|
|
var pages = require('./api/v1/pages');
|
|
|
|
var pages = require('./api/v1/pages');
|
|
|
@ -61,7 +61,7 @@ app.use('/api/v1/auth', auth);
|
|
|
|
//app.use('/', front);
|
|
|
|
//app.use('/', front);
|
|
|
|
app.use('/@/dashboard', dash);
|
|
|
|
app.use('/@/dashboard', dash);
|
|
|
|
app.use('/@/dashboard/page', page);
|
|
|
|
app.use('/@/dashboard/page', page);
|
|
|
|
//app.use('/@/dashboard/settings', settingsDashboard);
|
|
|
|
app.use('/@/dashboard/settings', settings);
|
|
|
|
//app.use('/@/dashboard/navigation', navDashboard);
|
|
|
|
//app.use('/@/dashboard/navigation', navDashboard);
|
|
|
|
//app.use('/mailer', mailer);
|
|
|
|
//app.use('/mailer', mailer);
|
|
|
|
// catch 404 and forward to error handler
|
|
|
|
// catch 404 and forward to error handler
|
|
|
|