Miguel Nogueira
2df5bf144d
This commit also improves how forms are parsed by PHP by passing them as arrays, therefore making them easier to process. Note: One of the files contains a debug statement that will be removed in the next commit
21 lines
300 B
PHP
21 lines
300 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\Http\Request;
|
|
|
|
class FormController extends Controller
|
|
{
|
|
|
|
public function index()
|
|
{
|
|
return view('dashboard.administration.forms');
|
|
}
|
|
|
|
public function saveForm(Request $request)
|
|
{
|
|
dd($request->all());
|
|
}
|
|
|
|
}
|