Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / dashboard / index.js
index a97ddcd..2d5289d 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x15ba=['put','/:id','update','delete','destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','isAuthenticated','index','get','show','/:id/items','post','create','addItem'];(function(_0xe34280,_0x2117ec){var _0x455c28=function(_0x58b955){while(--_0x58b955){_0xe34280['push'](_0xe34280['shift']());}};_0x455c28(++_0x2117ec);}(_0x15ba,0x1bd));var _0xa15b=function(_0x46efd7,_0x43f84d){_0x46efd7=_0x46efd7-0x0;var _0x5637e4=_0x15ba[_0x46efd7];return _0x5637e4;};'use strict';var multer=require(_0xa15b('0x0'));var util=require(_0xa15b('0x1'));var path=require(_0xa15b('0x2'));var timeout=require(_0xa15b('0x3'));var express=require(_0xa15b('0x4'));var router=express[_0xa15b('0x5')]();var fs_extra=require(_0xa15b('0x6'));var auth=require(_0xa15b('0x7'));var interaction=require(_0xa15b('0x8'));var config=require('../../config/environment');var controller=require('./dashboard.controller');router['get']('/',auth[_0xa15b('0x9')](),controller[_0xa15b('0xa')]);router[_0xa15b('0xb')]('/:id',auth[_0xa15b('0x9')](),controller[_0xa15b('0xc')]);router[_0xa15b('0xb')](_0xa15b('0xd'),auth[_0xa15b('0x9')](),controller['getItems']);router[_0xa15b('0xe')]('/',auth[_0xa15b('0x9')](),controller[_0xa15b('0xf')]);router[_0xa15b('0xe')]('/:id/clone',auth[_0xa15b('0x9')](),controller['clone']);router['post'](_0xa15b('0xd'),auth[_0xa15b('0x9')](),controller[_0xa15b('0x10')]);router[_0xa15b('0x11')](_0xa15b('0x12'),auth[_0xa15b('0x9')](),controller[_0xa15b('0x13')]);router[_0xa15b('0x14')](_0xa15b('0x12'),auth[_0xa15b('0x9')](),controller[_0xa15b('0x15')]);module['exports']=router;
\ No newline at end of file
+var _0x21b3=['connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./dashboard.controller','get','isAuthenticated','index','/:id','/:id/items','getItems','post','create','clone','addItem','delete','destroy'];(function(_0x16b242,_0xadbe54){var _0x52da18=function(_0x16cbfd){while(--_0x16cbfd){_0x16b242['push'](_0x16b242['shift']());}};_0x52da18(++_0xadbe54);}(_0x21b3,0x130));var _0x321b=function(_0x1cb484,_0x110b9c){_0x1cb484=_0x1cb484-0x0;var _0x5976b1=_0x21b3[_0x1cb484];return _0x5976b1;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require(_0x321b('0x0'));var express=require(_0x321b('0x1'));var router=express[_0x321b('0x2')]();var fs_extra=require(_0x321b('0x3'));var auth=require(_0x321b('0x4'));var interaction=require(_0x321b('0x5'));var config=require('../../config/environment');var controller=require(_0x321b('0x6'));router[_0x321b('0x7')]('/',auth[_0x321b('0x8')](),controller[_0x321b('0x9')]);router[_0x321b('0x7')](_0x321b('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x321b('0x7')](_0x321b('0xb'),auth[_0x321b('0x8')](),controller[_0x321b('0xc')]);router[_0x321b('0xd')]('/',auth[_0x321b('0x8')](),controller[_0x321b('0xe')]);router[_0x321b('0xd')]('/:id/clone',auth[_0x321b('0x8')](),controller[_0x321b('0xf')]);router[_0x321b('0xd')](_0x321b('0xb'),auth['isAuthenticated'](),controller[_0x321b('0x10')]);router['put'](_0x321b('0xa'),auth[_0x321b('0x8')](),controller['update']);router[_0x321b('0x11')](_0x321b('0xa'),auth[_0x321b('0x8')](),controller[_0x321b('0x12')]);module['exports']=router;
\ No newline at end of file