app/Http/Controllers/Admin/produk/ProdukController.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)
    {
      $input = $request->all();
      Produks::create($input);
          return redirect()->back();
    }
public function store ( Request $ request ) { $ input = $ request -> all ( ) ; Produks :: create ( $ input ) ; return redirect ( ) -> back ( ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .