templates/controller/controllerTemplate.php
/**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\_STORE_REQUEST  $request
     * @return \Illuminate\Http\Response
     */
Store a newly created resource in storage.
Store a newly created resource in storage .
public function store(_STORE_REQUEST $request)
    {
        $model = new _MODEL;
        $model->save();
        return redirect("/admin/_RMODEL/$model->id")->with('success', 'Created Successfully!');
    }
public function store ( _STORE_REQUEST $ request ) { $ model = new _MODEL ; $ model -> save ( ) ; return redirect ( " /admin/_RMODEL/ $ model -> id " ) -> with ( 'success' , 'Created Successfully!' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
// $model-> = $request