Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / template / index.js
index 36a3d90..67fb85e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x99d7=['delete','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get','index','/:id','show','post','create','put','isAuthenticated','update'];(function(_0x5317b5,_0x4dfd6e){var _0x3b7ce2=function(_0xc146d6){while(--_0xc146d6){_0x5317b5['push'](_0x5317b5['shift']());}};_0x3b7ce2(++_0x4dfd6e);}(_0x99d7,0x66));var _0x799d=function(_0x266ecd,_0x4e0946){_0x266ecd=_0x266ecd-0x0;var _0x18e847=_0x99d7[_0x266ecd];return _0x18e847;};'use strict';var multer=require(_0x799d('0x0'));var util=require(_0x799d('0x1'));var path=require(_0x799d('0x2'));var timeout=require(_0x799d('0x3'));var express=require('express');var router=express[_0x799d('0x4')]();var auth=require(_0x799d('0x5'));var interaction=require(_0x799d('0x6'));var config=require(_0x799d('0x7'));var controller=require(_0x799d('0x8'));router[_0x799d('0x9')]('/',auth['isAuthenticated'](),controller[_0x799d('0xa')]);router[_0x799d('0x9')](_0x799d('0xb'),auth['isAuthenticated'](),controller[_0x799d('0xc')]);router[_0x799d('0xd')]('/',auth['isAuthenticated'](),controller[_0x799d('0xe')]);router[_0x799d('0xf')]('/:id',auth[_0x799d('0x10')](),controller[_0x799d('0x11')]);router[_0x799d('0x12')](_0x799d('0xb'),auth[_0x799d('0x10')](),controller['destroy']);module[_0x799d('0x13')]=router;
\ No newline at end of file
+var _0x0f97=['get','/:id','isAuthenticated','create','put','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','index'];(function(_0x2d9095,_0x418890){var _0x2baa8e=function(_0x398e7c){while(--_0x398e7c){_0x2d9095['push'](_0x2d9095['shift']());}};_0x2baa8e(++_0x418890);}(_0x0f97,0x196));var _0x70f9=function(_0x3c43f6,_0x429058){_0x3c43f6=_0x3c43f6-0x0;var _0x5677a4=_0x0f97[_0x3c43f6];return _0x5677a4;};'use strict';var multer=require(_0x70f9('0x0'));var util=require(_0x70f9('0x1'));var path=require(_0x70f9('0x2'));var timeout=require(_0x70f9('0x3'));var express=require(_0x70f9('0x4'));var router=express[_0x70f9('0x5')]();var fs_extra=require(_0x70f9('0x6'));var auth=require(_0x70f9('0x7'));var interaction=require(_0x70f9('0x8'));var config=require(_0x70f9('0x9'));var controller=require(_0x70f9('0xa'));router['get']('/',auth['isAuthenticated'](),controller[_0x70f9('0xb')]);router[_0x70f9('0xc')](_0x70f9('0xd'),auth[_0x70f9('0xe')](),controller['show']);router['post']('/',auth[_0x70f9('0xe')](),controller[_0x70f9('0xf')]);router[_0x70f9('0x10')](_0x70f9('0xd'),auth['isAuthenticated'](),controller['update']);router['delete']('/:id',auth[_0x70f9('0xe')](),controller[_0x70f9('0x11')]);module[_0x70f9('0x12')]=router;
\ No newline at end of file