Built motion from commit bfc7a72f7045b27461c9a5d1f71c1a658cfd0b8b. Version 3.0.0...
[motion-next.git] / server / api / template / index.js
index 45c5111..eef008f 100644 (file)
@@ -1 +1 @@
-const a631_0x73d2=['update','destroy','./template.controller','Router','/:id','delete','create','exports','put','express','get','index','isAuthenticated'];(function(_0x1677f6,_0x73d21f){const _0x1b5775=function(_0xb255c6){while(--_0xb255c6){_0x1677f6['push'](_0x1677f6['shift']());}};_0x1b5775(++_0x73d21f);}(a631_0x73d2,0x77));const a631_0x1b57=function(_0x1677f6,_0x73d21f){_0x1677f6=_0x1677f6-0x0;let _0x1b5775=a631_0x73d2[_0x1677f6];return _0x1b5775;};const _0xba0078=a631_0x1b57;'use strict';const express=require(_0xba0078('0x7')),router=express[_0xba0078('0x1')](),auth=require('../../components/auth/service'),controller=require(_0xba0078('0x0'));router[_0xba0078('0x8')]('/',auth[_0xba0078('0xa')](),controller[_0xba0078('0x9')]),router[_0xba0078('0x8')](_0xba0078('0x2'),auth['isAuthenticated'](),controller['show']),router['post']('/',auth[_0xba0078('0xa')](),controller[_0xba0078('0x4')]),router[_0xba0078('0x6')](_0xba0078('0x2'),auth[_0xba0078('0xa')](),controller[_0xba0078('0xb')]),router[_0xba0078('0x3')](_0xba0078('0x2'),auth['isAuthenticated'](),controller[_0xba0078('0xc')]),module[_0xba0078('0x5')]=router;
\ No newline at end of file
+const a631_0x389a=['/:id','create','show','post','exports','destroy','express','index','./template.controller','Router','../../components/auth/service','isAuthenticated','delete','get'];(function(_0x479da3,_0x389a47){const _0x559a5e=function(_0x34185b){while(--_0x34185b){_0x479da3['push'](_0x479da3['shift']());}};_0x559a5e(++_0x389a47);}(a631_0x389a,0x1b9));const a631_0x559a=function(_0x479da3,_0x389a47){_0x479da3=_0x479da3-0x0;let _0x559a5e=a631_0x389a[_0x479da3];return _0x559a5e;};const _0x1e2c44=a631_0x559a;'use strict';const express=require(_0x1e2c44('0xd')),router=express[_0x1e2c44('0x2')](),auth=require(_0x1e2c44('0x3')),controller=require(_0x1e2c44('0x1'));router[_0x1e2c44('0x6')]('/',auth['isAuthenticated'](),controller[_0x1e2c44('0x0')]),router[_0x1e2c44('0x6')](_0x1e2c44('0x7'),auth['isAuthenticated'](),controller[_0x1e2c44('0x9')]),router[_0x1e2c44('0xa')]('/',auth[_0x1e2c44('0x4')](),controller[_0x1e2c44('0x8')]),router['put']('/:id',auth['isAuthenticated'](),controller['update']),router[_0x1e2c44('0x5')](_0x1e2c44('0x7'),auth[_0x1e2c44('0x4')](),controller[_0x1e2c44('0xc')]),module[_0x1e2c44('0xb')]=router;
\ No newline at end of file