app/Http/Controllers/FormController.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)
    {
        $file = $request->file('getfile');
        $filename = $request->article_link;
        Form::insertRecord($request);
        return Redirect::route('nodes.forms.index', [$request->node]);
    }
public function store ( Request $ request ) { $ file = $ request -> file ( 'getfile' ) ; $ filename = $ request -> article_link ; Form :: insertRecord ( $ request ) ; return Redirect :: route ( 'nodes.forms.index' , [ $ request -> node ] ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
// dd("Storing file");