Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / squareProject / index.js
index 03a0a49..4814701 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x3c81=['/:id','getUsers','post','create','/:id/users','addUsers','put','update','delete','destroy','removeUsers','multer','util','connect-timeout','express','./squareProject.controller','get','isAuthenticated','index'];(function(_0x2abc3d,_0x48edca){var _0x252745=function(_0x32bb6f){while(--_0x32bb6f){_0x2abc3d['push'](_0x2abc3d['shift']());}};_0x252745(++_0x48edca);}(_0x3c81,0x102));var _0x13c8=function(_0x32088f,_0x20b781){_0x32088f=_0x32088f-0x0;var _0xf2a4fd=_0x3c81[_0x32088f];return _0xf2a4fd;};'use strict';var multer=require(_0x13c8('0x0'));var util=require(_0x13c8('0x1'));var path=require('path');var timeout=require(_0x13c8('0x2'));var express=require(_0x13c8('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x13c8('0x4'));router[_0x13c8('0x5')]('/',auth[_0x13c8('0x6')](),controller[_0x13c8('0x7')]);router[_0x13c8('0x5')](_0x13c8('0x8'),auth[_0x13c8('0x6')](),controller['show']);router[_0x13c8('0x5')]('/:id/users',auth[_0x13c8('0x6')](),controller[_0x13c8('0x9')]);router[_0x13c8('0xa')]('/',auth[_0x13c8('0x6')](),controller[_0x13c8('0xb')]);router[_0x13c8('0xa')](_0x13c8('0xc'),auth[_0x13c8('0x6')](),controller[_0x13c8('0xd')]);router[_0x13c8('0xe')](_0x13c8('0x8'),auth[_0x13c8('0x6')](),controller[_0x13c8('0xf')]);router[_0x13c8('0x10')]('/:id',auth[_0x13c8('0x6')](),controller[_0x13c8('0x11')]);router[_0x13c8('0x10')](_0x13c8('0xc'),auth['isAuthenticated'](),controller[_0x13c8('0x12')]);module['exports']=router;
\ No newline at end of file
+var _0x37b7=['./squareProject.controller','get','index','/:id','show','post','isAuthenticated','create','update','delete','multer','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x278e3c,_0x1c9cfd){var _0x3e2d9b=function(_0x34d928){while(--_0x34d928){_0x278e3c['push'](_0x278e3c['shift']());}};_0x3e2d9b(++_0x1c9cfd);}(_0x37b7,0xb4));var _0x737b=function(_0x557fd2,_0x2c0a7a){_0x557fd2=_0x557fd2-0x0;var _0x1b54a2=_0x37b7[_0x557fd2];return _0x1b54a2;};'use strict';var multer=require(_0x737b('0x0'));var util=require('util');var path=require(_0x737b('0x1'));var timeout=require(_0x737b('0x2'));var express=require(_0x737b('0x3'));var router=express[_0x737b('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x737b('0x5'));var interaction=require(_0x737b('0x6'));var config=require('../../config/environment');var controller=require(_0x737b('0x7'));router[_0x737b('0x8')]('/',auth['isAuthenticated'](),controller[_0x737b('0x9')]);router['get'](_0x737b('0xa'),auth['isAuthenticated'](),controller[_0x737b('0xb')]);router[_0x737b('0xc')]('/',auth[_0x737b('0xd')](),controller[_0x737b('0xe')]);router['put']('/:id',auth[_0x737b('0xd')](),controller[_0x737b('0xf')]);router[_0x737b('0x10')](_0x737b('0xa'),auth[_0x737b('0xd')](),controller['destroy']);module['exports']=router;
\ No newline at end of file