Modules/FormBuilder/Http/Controllers/FormBuilderController.php
/**
     * Store a newly created resource in storage.
     * @param Request $request
     * @return Renderable
     */
Store a newly created resource in storage.
@param Request $request
@return Renderable
Store a newly created resource in storage . @param Request $request @return Renderable
public function store(Request $request)
    {
        $user = $this->formRepo->store($request);
        return redirect()->route('form')->with('success','Form created successfully');
    }
public function store ( Request $ request ) { $ user = $ this -> formRepo -> store ( $ request ) ; return redirect ( ) -> route ( 'form' ) -> with ( 'success' , 'Form created successfully' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .