Built motion from commit fe909640.|2.6.8
[motion2.git] / server / api / tag / index.js
index 8994078..3879b27 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa8a8=['index','/:id','show','post','create','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./tag.controller','get','isAuthenticated'];(function(_0x4f232d,_0x50c2fd){var _0x494086=function(_0x163bfa){while(--_0x163bfa){_0x4f232d['push'](_0x4f232d['shift']());}};_0x494086(++_0x50c2fd);}(_0xa8a8,0xec));var _0x8a8a=function(_0xaf9265,_0x3a55e9){_0xaf9265=_0xaf9265-0x0;var _0x42a213=_0xa8a8[_0xaf9265];return _0x42a213;};'use strict';var multer=require(_0x8a8a('0x0'));var util=require(_0x8a8a('0x1'));var path=require(_0x8a8a('0x2'));var timeout=require(_0x8a8a('0x3'));var express=require('express');var router=express[_0x8a8a('0x4')]();var auth=require(_0x8a8a('0x5'));var interaction=require(_0x8a8a('0x6'));var config=require(_0x8a8a('0x7'));var controller=require(_0x8a8a('0x8'));router[_0x8a8a('0x9')]('/',auth[_0x8a8a('0xa')](),controller[_0x8a8a('0xb')]);router[_0x8a8a('0x9')](_0x8a8a('0xc'),auth[_0x8a8a('0xa')](),controller[_0x8a8a('0xd')]);router[_0x8a8a('0xe')]('/',auth[_0x8a8a('0xa')](),controller[_0x8a8a('0xf')]);router['put']('/:id',auth[_0x8a8a('0xa')](),controller['update']);router[_0x8a8a('0x10')](_0x8a8a('0xc'),auth['isAuthenticated'](),controller[_0x8a8a('0x11')]);module[_0x8a8a('0x12')]=router;
\ No newline at end of file
+var _0x7341=['multer','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./tag.controller','get','isAuthenticated','/:id','show','create','put','update','delete'];(function(_0x2ba1a9,_0x5569b0){var _0x27c6bf=function(_0x54d1de){while(--_0x54d1de){_0x2ba1a9['push'](_0x2ba1a9['shift']());}};_0x27c6bf(++_0x5569b0);}(_0x7341,0x1d1));var _0x1734=function(_0x4c7941,_0x568f87){_0x4c7941=_0x4c7941-0x0;var _0x2a24c6=_0x7341[_0x4c7941];return _0x2a24c6;};'use strict';var multer=require(_0x1734('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x1734('0x1'));var express=require('express');var router=express[_0x1734('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x1734('0x3'));var interaction=require(_0x1734('0x4'));var config=require(_0x1734('0x5'));var controller=require(_0x1734('0x6'));router[_0x1734('0x7')]('/',auth[_0x1734('0x8')](),controller['index']);router['get'](_0x1734('0x9'),auth[_0x1734('0x8')](),controller[_0x1734('0xa')]);router['post']('/',auth[_0x1734('0x8')](),controller[_0x1734('0xb')]);router[_0x1734('0xc')](_0x1734('0x9'),auth[_0x1734('0x8')](),controller[_0x1734('0xd')]);router[_0x1734('0xe')]('/:id',auth[_0x1734('0x8')](),controller['destroy']);module['exports']=router;
\ No newline at end of file