Built motion from commit e0fa946e.|2.6.5
[motion2.git] / server / api / tag / index.js
index f1e51e3..07ebe63 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2d08=['get','/:id','post','isAuthenticated','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./tag.controller'];(function(_0x25e7cb,_0x3579b7){var _0x375d92=function(_0xe8cf3b){while(--_0xe8cf3b){_0x25e7cb['push'](_0x25e7cb['shift']());}};_0x375d92(++_0x3579b7);}(_0x2d08,0x129));var _0x82d0=function(_0x203451,_0x36cdd9){_0x203451=_0x203451-0x0;var _0x23dc34=_0x2d08[_0x203451];return _0x23dc34;};'use strict';var multer=require(_0x82d0('0x0'));var util=require(_0x82d0('0x1'));var path=require(_0x82d0('0x2'));var timeout=require(_0x82d0('0x3'));var express=require(_0x82d0('0x4'));var router=express[_0x82d0('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x82d0('0x6'));var interaction=require(_0x82d0('0x7'));var config=require('../../config/environment');var controller=require(_0x82d0('0x8'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x82d0('0x9')](_0x82d0('0xa'),auth['isAuthenticated'](),controller['show']);router[_0x82d0('0xb')]('/',auth[_0x82d0('0xc')](),controller['create']);router[_0x82d0('0xd')](_0x82d0('0xa'),auth[_0x82d0('0xc')](),controller[_0x82d0('0xe')]);router[_0x82d0('0xf')](_0x82d0('0xa'),auth[_0x82d0('0xc')](),controller[_0x82d0('0x10')]);module[_0x82d0('0x11')]=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