Built motion from commit e155ad4.|0.0.101
[motion.git] / server / api / automation / index.js
index 98acf5a..a2c1ca0 100644 (file)
@@ -1,17 +1 @@
-'use strict';
-
-var express = require('express');
-var controller = require('./automation.controller');
-var auth = require('../../auth/auth.service');
-
-var router = express.Router();
-
-router.get('/', auth.isAuthenticated(), controller.index);
-router.get('/:id', auth.isAuthenticated(), controller.show);
-router.post('/', auth.isAuthenticated(), controller.create);
-router.put('/:id', auth.isAuthenticated(), controller.update);
-router.patch('/:id', auth.isAuthenticated(), controller.update);
-router.delete('/:id', auth.isAuthenticated(), controller.destroy);
-router.delete('/', auth.isAuthenticated(), controller.bulkDestroy);
-
-module.exports = router;
+var _0x8bf1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x8bf1[0];var express=require(_0x8bf1[1]);var controller=require(_0x8bf1[2]);var auth=require(_0x8bf1[3]);var router=express.Router();router[_0x8bf1[9]](_0x8bf1[4],auth[_0x8bf1[5]](),auth[_0x8bf1[7]]([13],[_0x8bf1[6]]),controller[_0x8bf1[8]]);router[_0x8bf1[9]](_0x8bf1[10],auth[_0x8bf1[5]](),auth[_0x8bf1[7]]([13],[_0x8bf1[6]]),controller[_0x8bf1[11]]);router[_0x8bf1[13]](_0x8bf1[4],auth[_0x8bf1[5]](),auth[_0x8bf1[7]]([13],[_0x8bf1[6]]),controller[_0x8bf1[12]]);router[_0x8bf1[15]](_0x8bf1[10],auth[_0x8bf1[5]](),auth[_0x8bf1[7]]([13],[_0x8bf1[6]]),controller[_0x8bf1[14]]);router[_0x8bf1[17]](_0x8bf1[10],auth[_0x8bf1[5]](),auth[_0x8bf1[7]]([13],[_0x8bf1[6]]),controller[_0x8bf1[16]]);router[_0x8bf1[17]](_0x8bf1[4],auth[_0x8bf1[5]](),auth[_0x8bf1[7]]([13],[_0x8bf1[6]]),controller[_0x8bf1[18]]);module[_0x8bf1[19]]=router
\ No newline at end of file