Added a few more comments

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2021-12-30 18:33:28 -08:00
parent 39a5b6b426
commit 2ee84c2675

View file

@ -11,9 +11,15 @@ class ModalController extends Controller
* Load the modal views after confirming they are in the allowed_types array.
* The allowed types away just prevents shithead skiddies from fuzzing the urls
* with automated scripts and junking up the logs. - snipe
*
* @version v5.3.7-pre
* @author [Brady Wetherington] [<uberbrady@gmail.com>]
* @author [A. Gianotto] [<snipe@snipe.net]
* @return View
*/
function show ($type, $itemId = null) {
// These values should correspond to a file in resources/views/modals/
$allowed_types = [
'category',
'kit-model',