ikd kev
This commit is contained in:
parent
94b0d73cc4
commit
bb307df506
|
@ -7,6 +7,6 @@ use Illuminate\Database\Eloquent\Model;
|
|||
class Contact extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'monday', "tuesday", 'wednesday', 'thursday', "friday", "saturday", "sunday"
|
||||
'name_first', "name_last", 'email', 'tel'
|
||||
];
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ class ContactController extends Controller
|
|||
*/
|
||||
public function create()
|
||||
{
|
||||
return Response::detect("contacts.create");
|
||||
return Response::detect("contact.create");
|
||||
|
||||
}
|
||||
|
||||
|
@ -41,8 +41,10 @@ class ContactController extends Controller
|
|||
public function store(Request $request)
|
||||
{
|
||||
$requestContact = $request->validate([
|
||||
"idk kev" => "required|max:255",
|
||||
|
||||
"name_first" => "required|max:255",
|
||||
"name_last" => "required|max:255",
|
||||
"email" => "required|max:255",
|
||||
"tel" => "required|max:255",
|
||||
]);
|
||||
|
||||
$contact = new MenuPlan($requestContact);
|
||||
|
|
Loading…
Reference in New Issue