mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-16 18:53:26 +02:00
Rewriting the router v2
To be more flexible
This commit is contained in:
@@ -40,11 +40,9 @@
|
||||
"method": "GET",
|
||||
"priority": "130"
|
||||
},
|
||||
"Second Route": {
|
||||
"pattern": "/YourSecondRoute",
|
||||
"file": "plugins/your-plugin/your-awesome-page-two.php",
|
||||
"method": "GET,POST",
|
||||
"priority": "120"
|
||||
"Redirect Example": {
|
||||
"pattern": "/redirectExample",
|
||||
"file": "account/manage"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user