Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / template / index.js
index 1fab4f9..776c3bc 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc100=['../../components/auth/service','../../components/interaction/service','./template.controller','get','isAuthenticated','index','/:id','show','post','create','destroy','exports','multer','util','connect-timeout','Router'];(function(_0x3c30a4,_0x152fd6){var _0x4f3e14=function(_0x28d11e){while(--_0x28d11e){_0x3c30a4['push'](_0x3c30a4['shift']());}};_0x4f3e14(++_0x152fd6);}(_0xc100,0x6c));var _0x0c10=function(_0x291f8b,_0x3b5591){_0x291f8b=_0x291f8b-0x0;var _0x275171=_0xc100[_0x291f8b];return _0x275171;};'use strict';var multer=require(_0x0c10('0x0'));var util=require(_0x0c10('0x1'));var path=require('path');var timeout=require(_0x0c10('0x2'));var express=require('express');var router=express[_0x0c10('0x3')]();var auth=require(_0x0c10('0x4'));var interaction=require(_0x0c10('0x5'));var config=require('../../config/environment');var controller=require(_0x0c10('0x6'));router[_0x0c10('0x7')]('/',auth[_0x0c10('0x8')](),controller[_0x0c10('0x9')]);router[_0x0c10('0x7')](_0x0c10('0xa'),auth['isAuthenticated'](),controller[_0x0c10('0xb')]);router[_0x0c10('0xc')]('/',auth[_0x0c10('0x8')](),controller[_0x0c10('0xd')]);router['put'](_0x0c10('0xa'),auth[_0x0c10('0x8')](),controller['update']);router['delete'](_0x0c10('0xa'),auth[_0x0c10('0x8')](),controller[_0x0c10('0xe')]);module[_0x0c10('0xf')]=router;
\ No newline at end of file
+var _0xb44a=['destroy','exports','path','express','../../components/auth/service','../../config/environment','./template.controller','get','isAuthenticated','index','/:id','show','post','create','put','delete'];(function(_0x154c18,_0x26749f){var _0xaf76e=function(_0x1e9633){while(--_0x1e9633){_0x154c18['push'](_0x154c18['shift']());}};_0xaf76e(++_0x26749f);}(_0xb44a,0x1c2));var _0xab44=function(_0x5f002d,_0x1b9dc8){_0x5f002d=_0x5f002d-0x0;var _0x544598=_0xb44a[_0x5f002d];return _0x544598;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xab44('0x0'));var timeout=require('connect-timeout');var express=require(_0xab44('0x1'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xab44('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0xab44('0x3'));var controller=require(_0xab44('0x4'));router[_0xab44('0x5')]('/',auth[_0xab44('0x6')](),controller[_0xab44('0x7')]);router[_0xab44('0x5')](_0xab44('0x8'),auth[_0xab44('0x6')](),controller[_0xab44('0x9')]);router[_0xab44('0xa')]('/',auth[_0xab44('0x6')](),controller[_0xab44('0xb')]);router[_0xab44('0xc')]('/:id',auth[_0xab44('0x6')](),controller['update']);router[_0xab44('0xd')]('/:id',auth['isAuthenticated'](),controller[_0xab44('0xe')]);module[_0xab44('0xf')]=router;
\ No newline at end of file