Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/westberliner/checksum.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 81cb5a4..1359b9c 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -1,6 +1,7 @@
<?php
+/**
+ * adding route for ajax callback
+ */
return ['routes' => [
- ['name' => 'checksum#calculate', 'url' => '/checksum', 'verb' => 'GET']
-]];
-
-?>
+ ['name' => 'checksum#check', 'url' => '/check', 'verb' => 'GET']
+]]; \ No newline at end of file