Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / tag / index.js
index 07ebe63..4b9da65 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 _0x18cc=['post','create','update','delete','destroy','exports','multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show'];(function(_0x2583a5,_0x210710){var _0x1f856a=function(_0x25baa2){while(--_0x25baa2){_0x2583a5['push'](_0x2583a5['shift']());}};_0x1f856a(++_0x210710);}(_0x18cc,0x116));var _0xc18c=function(_0x2b0e01,_0x1b7eb7){_0x2b0e01=_0x2b0e01-0x0;var _0x14ce57=_0x18cc[_0x2b0e01];return _0x14ce57;};'use strict';var multer=require(_0xc18c('0x0'));var util=require('util');var path=require('path');var timeout=require(_0xc18c('0x1'));var express=require('express');var router=express[_0xc18c('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0xc18c('0x3'));var interaction=require(_0xc18c('0x4'));var config=require(_0xc18c('0x5'));var controller=require('./tag.controller');router[_0xc18c('0x6')]('/',auth[_0xc18c('0x7')](),controller[_0xc18c('0x8')]);router['get'](_0xc18c('0x9'),auth[_0xc18c('0x7')](),controller[_0xc18c('0xa')]);router[_0xc18c('0xb')]('/',auth[_0xc18c('0x7')](),controller[_0xc18c('0xc')]);router['put'](_0xc18c('0x9'),auth['isAuthenticated'](),controller[_0xc18c('0xd')]);router[_0xc18c('0xe')](_0xc18c('0x9'),auth[_0xc18c('0x7')](),controller[_0xc18c('0xf')]);module[_0xc18c('0x10')]=router;
\ No newline at end of file