app/Http/Controllers/Admin/ListVisiMisiController.php
/**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
Store a newly created resource in storage.
Store a newly created resource in storage .
public function store(Request $request)
    {
        $title = $request->input('title');
        $desc = $request->input('desc');
        ListVisiMisi::create([
            'visimisi_list_title' => $title,
            'visimisi_list_description' => $desc,
        ]);
        return redirect()->to('adminpages/visimisilist');
    }
public function store ( Request $ request ) { $ title = $ request -> input ( 'title' ) ; $ desc = $ request -> input ( 'desc' ) ; ListVisiMisi :: create ( [ 'visimisi_list_title' => $ title , 'visimisi_list_description' => $ desc , ] ) ; return redirect ( ) -> to ( 'adminpages/visimisilist' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .