Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / template / index.js
index 81b6970..12184e1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x997b=['connect-timeout','express','Router','../../components/auth/service','../../config/environment','./template.controller','get','isAuthenticated','index','/:id','show','put','update','delete','exports','multer','util','path'];(function(_0x40f330,_0x3b8a1e){var _0x22896b=function(_0xaa2a6f){while(--_0xaa2a6f){_0x40f330['push'](_0x40f330['shift']());}};_0x22896b(++_0x3b8a1e);}(_0x997b,0x10b));var _0xb997=function(_0x17fdad,_0x368f25){_0x17fdad=_0x17fdad-0x0;var _0x20eb8c=_0x997b[_0x17fdad];return _0x20eb8c;};'use strict';var multer=require(_0xb997('0x0'));var util=require(_0xb997('0x1'));var path=require(_0xb997('0x2'));var timeout=require(_0xb997('0x3'));var express=require(_0xb997('0x4'));var router=express[_0xb997('0x5')]();var auth=require(_0xb997('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xb997('0x7'));var controller=require(_0xb997('0x8'));router[_0xb997('0x9')]('/',auth[_0xb997('0xa')](),controller[_0xb997('0xb')]);router[_0xb997('0x9')](_0xb997('0xc'),auth[_0xb997('0xa')](),controller[_0xb997('0xd')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0xb997('0xe')](_0xb997('0xc'),auth[_0xb997('0xa')](),controller[_0xb997('0xf')]);router[_0xb997('0x10')](_0xb997('0xc'),auth['isAuthenticated'](),controller['destroy']);module[_0xb997('0x11')]=router;
\ No newline at end of file
+var _0x323f=['../../components/interaction/service','../../config/environment','./template.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x21f2a6,_0x418f76){var _0x69238f=function(_0x144e7a){while(--_0x144e7a){_0x21f2a6['push'](_0x21f2a6['shift']());}};_0x69238f(++_0x418f76);}(_0x323f,0x1ee));var _0xf323=function(_0x46aff0,_0x122890){_0x46aff0=_0x46aff0-0x0;var _0x9d78cf=_0x323f[_0x46aff0];return _0x9d78cf;};'use strict';var multer=require('multer');var util=require(_0xf323('0x0'));var path=require('path');var timeout=require(_0xf323('0x1'));var express=require(_0xf323('0x2'));var router=express[_0xf323('0x3')]();var fs_extra=require(_0xf323('0x4'));var auth=require(_0xf323('0x5'));var interaction=require(_0xf323('0x6'));var config=require(_0xf323('0x7'));var controller=require(_0xf323('0x8'));router[_0xf323('0x9')]('/',auth[_0xf323('0xa')](),controller['index']);router[_0xf323('0x9')](_0xf323('0xb'),auth[_0xf323('0xa')](),controller[_0xf323('0xc')]);router[_0xf323('0xd')]('/',auth[_0xf323('0xa')](),controller[_0xf323('0xe')]);router[_0xf323('0xf')](_0xf323('0xb'),auth[_0xf323('0xa')](),controller[_0xf323('0x10')]);router[_0xf323('0x11')](_0xf323('0xb'),auth[_0xf323('0xa')](),controller[_0xf323('0x12')]);module[_0xf323('0x13')]=router;
\ No newline at end of file