Built motion from commit 6a09e18b.|2.6.11
[motion2.git] / server / api / dashboard / index.js
index 9b42e57..ead04b0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x70e0=['util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','show','/:id/items','isAuthenticated','getItems','post','/:id/clone','clone','addItem','put','/:id','update','multer'];(function(_0x413051,_0x709839){var _0xaf84d5=function(_0x2219b0){while(--_0x2219b0){_0x413051['push'](_0x413051['shift']());}};_0xaf84d5(++_0x709839);}(_0x70e0,0x17b));var _0x070e=function(_0x233cde,_0x3eeefb){_0x233cde=_0x233cde-0x0;var _0xcf6836=_0x70e0[_0x233cde];return _0xcf6836;};'use strict';var multer=require(_0x070e('0x0'));var util=require(_0x070e('0x1'));var path=require(_0x070e('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x070e('0x3')]();var auth=require(_0x070e('0x4'));var interaction=require(_0x070e('0x5'));var config=require(_0x070e('0x6'));var controller=require('./dashboard.controller');router[_0x070e('0x7')]('/',auth['isAuthenticated'](),controller[_0x070e('0x8')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x070e('0x9')]);router[_0x070e('0x7')](_0x070e('0xa'),auth[_0x070e('0xb')](),controller[_0x070e('0xc')]);router[_0x070e('0xd')]('/',auth[_0x070e('0xb')](),controller['create']);router['post'](_0x070e('0xe'),auth[_0x070e('0xb')](),controller[_0x070e('0xf')]);router[_0x070e('0xd')](_0x070e('0xa'),auth[_0x070e('0xb')](),controller[_0x070e('0x10')]);router[_0x070e('0x11')](_0x070e('0x12'),auth[_0x070e('0xb')](),controller[_0x070e('0x13')]);router['delete']('/:id',auth[_0x070e('0xb')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0x75dc=['getItems','create','post','/:id/clone','addItem','put','/:id','delete','destroy','multer','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./dashboard.controller','isAuthenticated','index','get','show','/:id/items'];(function(_0x52e331,_0x582b6e){var _0x414818=function(_0x1d9329){while(--_0x1d9329){_0x52e331['push'](_0x52e331['shift']());}};_0x414818(++_0x582b6e);}(_0x75dc,0x1d7));var _0xc75d=function(_0x450076,_0x10983b){_0x450076=_0x450076-0x0;var _0x2029cc=_0x75dc[_0x450076];return _0x2029cc;};'use strict';var multer=require(_0xc75d('0x0'));var util=require(_0xc75d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc75d('0x2')]();var fs_extra=require(_0xc75d('0x3'));var auth=require(_0xc75d('0x4'));var interaction=require(_0xc75d('0x5'));var config=require(_0xc75d('0x6'));var controller=require(_0xc75d('0x7'));router['get']('/',auth[_0xc75d('0x8')](),controller[_0xc75d('0x9')]);router[_0xc75d('0xa')]('/:id',auth[_0xc75d('0x8')](),controller[_0xc75d('0xb')]);router[_0xc75d('0xa')](_0xc75d('0xc'),auth['isAuthenticated'](),controller[_0xc75d('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xc75d('0xe')]);router[_0xc75d('0xf')](_0xc75d('0x10'),auth[_0xc75d('0x8')](),controller['clone']);router[_0xc75d('0xf')](_0xc75d('0xc'),auth[_0xc75d('0x8')](),controller[_0xc75d('0x11')]);router[_0xc75d('0x12')](_0xc75d('0x13'),auth[_0xc75d('0x8')](),controller['update']);router[_0xc75d('0x14')](_0xc75d('0x13'),auth[_0xc75d('0x8')](),controller[_0xc75d('0x15')]);module['exports']=router;
\ No newline at end of file