app/Http/Controllers/PagesController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(editPage $request, $id)
    {
        Navigation::editPage($request, $id);
        Session::flash("flash", $request->pageTitle .  ' succesfully updated!');
        return redirect('/admin/pages');
    }
public function update ( editPage $ request , $ id ) { Navigation :: editPage ( $ request , $ id ) ; Session :: flash ( " flash " , $ request -> pageTitle . ' succesfully updated!' ) ; return redirect ( '/admin/pages' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .