Built motion from commit a679711e.|2.6.15
[motion2.git] / server / api / squareProject / index.js
index ccc0589..508d42c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfef3=['./squareProject.controller','get','index','/:id','isAuthenticated','show','/:id/users','getUsers','post','create','addUsers','put','update','destroy','removeUsers','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x5796d0,_0x2a4569){var _0x490adb=function(_0x26b827){while(--_0x26b827){_0x5796d0['push'](_0x5796d0['shift']());}};_0x490adb(++_0x2a4569);}(_0xfef3,0x118));var _0x3fef=function(_0x2b36fd,_0x156106){_0x2b36fd=_0x2b36fd-0x0;var _0x3df453=_0xfef3[_0x2b36fd];return _0x3df453;};'use strict';var multer=require(_0x3fef('0x0'));var util=require('util');var path=require(_0x3fef('0x1'));var timeout=require('connect-timeout');var express=require(_0x3fef('0x2'));var router=express[_0x3fef('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x3fef('0x4'));var interaction=require(_0x3fef('0x5'));var config=require('../../config/environment');var controller=require(_0x3fef('0x6'));router[_0x3fef('0x7')]('/',auth['isAuthenticated'](),controller[_0x3fef('0x8')]);router[_0x3fef('0x7')](_0x3fef('0x9'),auth[_0x3fef('0xa')](),controller[_0x3fef('0xb')]);router[_0x3fef('0x7')](_0x3fef('0xc'),auth[_0x3fef('0xa')](),controller[_0x3fef('0xd')]);router[_0x3fef('0xe')]('/',auth[_0x3fef('0xa')](),controller[_0x3fef('0xf')]);router[_0x3fef('0xe')](_0x3fef('0xc'),auth['isAuthenticated'](),controller[_0x3fef('0x10')]);router[_0x3fef('0x11')](_0x3fef('0x9'),auth['isAuthenticated'](),controller[_0x3fef('0x12')]);router['delete'](_0x3fef('0x9'),auth[_0x3fef('0xa')](),controller[_0x3fef('0x13')]);router['delete'](_0x3fef('0xc'),auth['isAuthenticated'](),controller[_0x3fef('0x14')]);module[_0x3fef('0x15')]=router;
\ No newline at end of file
+var _0xca01=['create','/:id','update','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./squareProject.controller','get','isAuthenticated','show','post'];(function(_0x3fed24,_0x20e80f){var _0x191a9a=function(_0x12f389){while(--_0x12f389){_0x3fed24['push'](_0x3fed24['shift']());}};_0x191a9a(++_0x20e80f);}(_0xca01,0xc0));var _0x1ca0=function(_0x23422f,_0x2cd057){_0x23422f=_0x23422f-0x0;var _0x2faae2=_0xca01[_0x23422f];return _0x2faae2;};'use strict';var multer=require('multer');var util=require(_0x1ca0('0x0'));var path=require(_0x1ca0('0x1'));var timeout=require(_0x1ca0('0x2'));var express=require('express');var router=express[_0x1ca0('0x3')]();var fs_extra=require(_0x1ca0('0x4'));var auth=require(_0x1ca0('0x5'));var interaction=require(_0x1ca0('0x6'));var config=require('../../config/environment');var controller=require(_0x1ca0('0x7'));router[_0x1ca0('0x8')]('/',auth[_0x1ca0('0x9')](),controller['index']);router[_0x1ca0('0x8')]('/:id',auth[_0x1ca0('0x9')](),controller[_0x1ca0('0xa')]);router[_0x1ca0('0xb')]('/',auth[_0x1ca0('0x9')](),controller[_0x1ca0('0xc')]);router['put'](_0x1ca0('0xd'),auth[_0x1ca0('0x9')](),controller[_0x1ca0('0xe')]);router['delete'](_0x1ca0('0xd'),auth[_0x1ca0('0x9')](),controller[_0x1ca0('0xf')]);module[_0x1ca0('0x10')]=router;
\ No newline at end of file