Built motion from commit e0fa946e.|2.6.5
[motion2.git] / server / api / tag / index.js
index 8128170..07ebe63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x9f62=['update','destroy','util','connect-timeout','express','Router','../../config/environment','./tag.controller','get','isAuthenticated','/:id','show','post'];(function(_0x4fc9e6,_0xc51915){var _0x551d28=function(_0x1a603b){while(--_0x1a603b){_0x4fc9e6['push'](_0x4fc9e6['shift']());}};_0x551d28(++_0xc51915);}(_0x9f62,0x154));var _0x29f6=function(_0x3d10e4,_0x9ec141){_0x3d10e4=_0x3d10e4-0x0;var _0xd03055=_0x9f62[_0x3d10e4];return _0xd03055;};'use strict';var multer=require('multer');var util=require(_0x29f6('0x0'));var path=require('path');var timeout=require(_0x29f6('0x1'));var express=require(_0x29f6('0x2'));var router=express[_0x29f6('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x29f6('0x4'));var controller=require(_0x29f6('0x5'));router[_0x29f6('0x6')]('/',auth[_0x29f6('0x7')](),controller['index']);router[_0x29f6('0x6')](_0x29f6('0x8'),auth[_0x29f6('0x7')](),controller[_0x29f6('0x9')]);router[_0x29f6('0xa')]('/',auth['isAuthenticated'](),controller['create']);router['put']('/:id',auth[_0x29f6('0x7')](),controller[_0x29f6('0xb')]);router['delete']('/:id',auth[_0x29f6('0x7')](),controller[_0x29f6('0xc')]);module['exports']=router;
\ No newline at end of file
+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