15 lines
312 B
PHP
15 lines
312 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use App\AllowAction;
|
|
use Illuminate\Http\Request;
|
|
|
|
class AllowActionController extends Controller
|
|
{
|
|
function AllowActionRegistering(Request $request) {
|
|
$action = AllowAction::find($request->id);
|
|
$action->update([ 'allow' => $request->allow ]);
|
|
}
|
|
}
|