X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Ftemplate%2Findex.js;h=12184e183a89bd04971b9fbe75dca2083ce7c0d1;hb=4baefdac9c37d4300115b8e539c5781a6d78e036;hp=f3d36d2d7aa5006cd4196550bdb05c1f8c36b3d8;hpb=da8b5d32823ad8783d3c47a738f61aa66e32f99c;p=motion2.git diff --git a/server/api/template/index.js b/server/api/template/index.js index f3d36d2..12184e1 100644 --- a/server/api/template/index.js +++ b/server/api/template/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xfab2=['index','/:id','isAuthenticated','show','post','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./template.controller','get'];(function(_0x502c7d,_0x2f1285){var _0x30b7ed=function(_0x2d92f3){while(--_0x2d92f3){_0x502c7d['push'](_0x502c7d['shift']());}};_0x30b7ed(++_0x2f1285);}(_0xfab2,0x14a));var _0x2fab=function(_0x2c11d4,_0x5ad08a){_0x2c11d4=_0x2c11d4-0x0;var _0x360cda=_0xfab2[_0x2c11d4];return _0x360cda;};'use strict';var multer=require('multer');var util=require(_0x2fab('0x0'));var path=require(_0x2fab('0x1'));var timeout=require(_0x2fab('0x2'));var express=require(_0x2fab('0x3'));var router=express[_0x2fab('0x4')]();var auth=require(_0x2fab('0x5'));var interaction=require(_0x2fab('0x6'));var config=require(_0x2fab('0x7'));var controller=require(_0x2fab('0x8'));router[_0x2fab('0x9')]('/',auth['isAuthenticated'](),controller[_0x2fab('0xa')]);router['get'](_0x2fab('0xb'),auth[_0x2fab('0xc')](),controller[_0x2fab('0xd')]);router[_0x2fab('0xe')]('/',auth['isAuthenticated'](),controller['create']);router['put'](_0x2fab('0xb'),auth[_0x2fab('0xc')](),controller['update']);router['delete']('/:id',auth[_0x2fab('0xc')](),controller[_0x2fab('0xf')]);module[_0x2fab('0x10')]=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