Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / tag / index.js
index 07ebe63..0c36b5a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcfbf=['get','/:id','show','create','put','update','delete','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index'];(function(_0x5528cb,_0x26dcd5){var _0x582566=function(_0x39ce8c){while(--_0x39ce8c){_0x5528cb['push'](_0x5528cb['shift']());}};_0x582566(++_0x26dcd5);}(_0xcfbf,0xf1));var _0xfcfb=function(_0x10a3ac,_0xecbd75){_0x10a3ac=_0x10a3ac-0x0;var _0x49d049=_0xcfbf[_0x10a3ac];return _0x49d049;};'use strict';var multer=require(_0xfcfb('0x0'));var util=require(_0xfcfb('0x1'));var path=require(_0xfcfb('0x2'));var timeout=require(_0xfcfb('0x3'));var express=require(_0xfcfb('0x4'));var router=express[_0xfcfb('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xfcfb('0x6'));var interaction=require(_0xfcfb('0x7'));var config=require(_0xfcfb('0x8'));var controller=require('./tag.controller');router['get']('/',auth[_0xfcfb('0x9')](),controller[_0xfcfb('0xa')]);router[_0xfcfb('0xb')](_0xfcfb('0xc'),auth[_0xfcfb('0x9')](),controller[_0xfcfb('0xd')]);router['post']('/',auth[_0xfcfb('0x9')](),controller[_0xfcfb('0xe')]);router[_0xfcfb('0xf')](_0xfcfb('0xc'),auth[_0xfcfb('0x9')](),controller[_0xfcfb('0x10')]);router[_0xfcfb('0x11')]('/:id',auth[_0xfcfb('0x9')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0xf534=['util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./tag.controller','get','isAuthenticated','show','post','put','delete','destroy','multer'];(function(_0x2dcf70,_0x4dc514){var _0xa077cf=function(_0x304679){while(--_0x304679){_0x2dcf70['push'](_0x2dcf70['shift']());}};_0xa077cf(++_0x4dc514);}(_0xf534,0x9f));var _0x4f53=function(_0x14add3,_0x13ce8d){_0x14add3=_0x14add3-0x0;var _0x4a174f=_0xf534[_0x14add3];return _0x4a174f;};'use strict';var multer=require(_0x4f53('0x0'));var util=require(_0x4f53('0x1'));var path=require(_0x4f53('0x2'));var timeout=require(_0x4f53('0x3'));var express=require(_0x4f53('0x4'));var router=express['Router']();var fs_extra=require(_0x4f53('0x5'));var auth=require(_0x4f53('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x4f53('0x7'));var controller=require(_0x4f53('0x8'));router[_0x4f53('0x9')]('/',auth[_0x4f53('0xa')](),controller['index']);router[_0x4f53('0x9')]('/:id',auth[_0x4f53('0xa')](),controller[_0x4f53('0xb')]);router[_0x4f53('0xc')]('/',auth[_0x4f53('0xa')](),controller['create']);router[_0x4f53('0xd')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x4f53('0xe')]('/:id',auth[_0x4f53('0xa')](),controller[_0x4f53('0xf')]);module['exports']=router;
\ No newline at end of file