Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / template / index.js
index 6f5a863..12184e1 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xde3d=['path','connect-timeout','Router','../../components/auth/service','../../config/environment','./template.controller','get','isAuthenticated','/:id','show','post','update','delete','destroy','multer'];(function(_0x3dea18,_0x5b9686){var _0x1e1231=function(_0x11af71){while(--_0x11af71){_0x3dea18['push'](_0x3dea18['shift']());}};_0x1e1231(++_0x5b9686);}(_0xde3d,0xfe));var _0xdde3=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xde3d[_0x17d9e3];return _0x14192d;};'use strict';var multer=require(_0xdde3('0x0'));var util=require('util');var path=require(_0xdde3('0x1'));var timeout=require(_0xdde3('0x2'));var express=require('express');var router=express[_0xdde3('0x3')]();var auth=require(_0xdde3('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xdde3('0x5'));var controller=require(_0xdde3('0x6'));router[_0xdde3('0x7')]('/',auth[_0xdde3('0x8')](),controller['index']);router['get'](_0xdde3('0x9'),auth['isAuthenticated'](),controller[_0xdde3('0xa')]);router[_0xdde3('0xb')]('/',auth[_0xdde3('0x8')](),controller['create']);router['put'](_0xdde3('0x9'),auth['isAuthenticated'](),controller[_0xdde3('0xc')]);router[_0xdde3('0xd')](_0xdde3('0x9'),auth['isAuthenticated'](),controller[_0xdde3('0xe')]);module['exports']=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