Commit Graph

11 Commits

Author SHA1 Message Date
kj 6fbf9a2a72 Change indentation. 2021-10-21 23:34:49 -04:00
kj 184d03a214 Fix error on undefined param. 2021-10-15 17:41:47 -04:00
kj e1fe93a04c - Change middleware for accept any callable function as param.
- $notFoundCallback now has a function as default value (the normal 404 page as before).
- Change the way to manipulate the {pseudoVars} on uri, now it go into the same Neuron onject that "post", "get", and "json" and not more as separate params into the callback (the callback now only receive one param by default).
- $notFoundCallback now receive the $req, as param.
2021-10-15 17:23:20 -04:00
kj e424139072 Remove unused use. 2021-06-21 16:08:29 -04:00
kj d23ecfbde6 Add a 404 custom controller option on Router. 2021-03-25 12:02:50 -04:00
kj 831dd7ad47 Fix error on middleware set for DELETE method. 2020-08-11 18:52:35 -04:00
kj 02c0dbef50 - Params renamed to Neuron
- add path atribute to Router req
- add viewPath param to View
2020-06-11 06:25:41 -04:00
kj 9d31dc1c24 Add '?>' to Router.php at end. 2020-04-21 18:57:01 -04:00
kj 28880347a4 add comments to Libs. 2020-03-17 13:46:16 -04:00
kj b07333f3c8 Improve params. 2020-03-16 22:54:12 -04:00
kj 9539b43212 First commit. 2020-03-07 23:37:19 -04:00