@kohanajs/mod-admin
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,3 +0,3 @@ | ||
const {KOJS} = require('kohanajs'); | ||
KOJS.addNodeModules(require.resolve('./')); | ||
const {KohanaJS} = require('kohanajs'); | ||
KohanaJS.addNodeModules(require.resolve('./')); | ||
@@ -4,0 +4,0 @@ module.exports = { |
@@ -0,1 +1,2 @@ | ||
const {HTTP_METHODS} = require('@kohanajs/constants'); | ||
const {RouteList} = require('@kohanajs/mod-route'); | ||
@@ -5,4 +6,4 @@ | ||
RouteList.add('/admin/login', 'controllers/ControllerAuth', 'login'); | ||
RouteList.add('/admin/login', 'controllers/ControllerAuth', 'auth', RouteList.methods.POST); | ||
RouteList.add('/admin/login', 'controllers/ControllerAuth', 'auth', HTTP_METHODS.POST); | ||
RouteList.add('/admin/login/fail', 'controllers/ControllerAuth', 'fail'); | ||
RouteList.add('/admin/logout', 'controllers/ControllerAuth', 'logout'); |
{ | ||
"name": "@kohanajs/mod-admin", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Admin templates for KohanaJS ORM", | ||
@@ -20,6 +20,7 @@ "main": "index.js", | ||
"dependencies": { | ||
"@kohanajs/mixin-admin": "^1.0.8", | ||
"@kohanajs/mixin-orm": "^1.0.5", | ||
"@kohanajs/mod-route": "^1.1.2", | ||
"kohanajs": "^1.0.4", | ||
"@kohanajs/constants": "^1.0.1", | ||
"@kohanajs/mixin-admin": "^1.0.9", | ||
"@kohanajs/mixin-orm": "^1.0.7", | ||
"@kohanajs/mod-route": "^1.1.4", | ||
"kohanajs": "^1.0.5", | ||
"pluralize": "^8.0.0" | ||
@@ -26,0 +27,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23769
234
6
+ Added@kohanajs/constants@^1.0.1
Updated@kohanajs/mixin-admin@^1.0.9
Updated@kohanajs/mixin-orm@^1.0.7
Updated@kohanajs/mod-route@^1.1.4
Updatedkohanajs@^1.0.5