mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Added a few more comments
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
39a5b6b426
commit
2ee84c2675
|
@ -11,9 +11,15 @@ class ModalController extends Controller
|
||||||
* Load the modal views after confirming they are in the allowed_types array.
|
* 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
|
* The allowed types away just prevents shithead skiddies from fuzzing the urls
|
||||||
* with automated scripts and junking up the logs. - snipe
|
* 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) {
|
function show ($type, $itemId = null) {
|
||||||
|
|
||||||
|
// These values should correspond to a file in resources/views/modals/
|
||||||
$allowed_types = [
|
$allowed_types = [
|
||||||
'category',
|
'category',
|
||||||
'kit-model',
|
'kit-model',
|
||||||
|
|
Loading…
Reference in a new issue