Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / template / index.js
index 1fab4f9..f3c7914 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 _0x2fc9=['put','update','delete','destroy','exports','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','/:id','isAuthenticated','show','post','create'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2fc9,0xc2));var _0x92fc=function(_0x178f52,_0x5d9675){_0x178f52=_0x178f52-0x0;var _0x556f99=_0x2fc9[_0x178f52];return _0x556f99;};'use strict';var multer=require('multer');var util=require(_0x92fc('0x0'));var path=require(_0x92fc('0x1'));var timeout=require(_0x92fc('0x2'));var express=require(_0x92fc('0x3'));var router=express[_0x92fc('0x4')]();var fs_extra=require(_0x92fc('0x5'));var auth=require(_0x92fc('0x6'));var interaction=require(_0x92fc('0x7'));var config=require(_0x92fc('0x8'));var controller=require(_0x92fc('0x9'));router[_0x92fc('0xa')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x92fc('0xb'),auth[_0x92fc('0xc')](),controller[_0x92fc('0xd')]);router[_0x92fc('0xe')]('/',auth[_0x92fc('0xc')](),controller[_0x92fc('0xf')]);router[_0x92fc('0x10')]('/:id',auth[_0x92fc('0xc')](),controller[_0x92fc('0x11')]);router[_0x92fc('0x12')]('/:id',auth[_0x92fc('0xc')](),controller[_0x92fc('0x13')]);module[_0x92fc('0x14')]=router;
\ No newline at end of file