app/Http/Controllers/Admin/LanguagesController.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(LanguageRequest $request, Language $language)
    {
        $language -> user_id_edited = Auth::id();
        if($language -> update($request->all()))
            return redirect()->route('languages.index');
    }
public function update ( LanguageRequest $ request , Language $ language ) { $ language -> user_id_edited = Auth :: id ( ) ; if ( $ language -> update ( $ request -> all ( ) ) ) return redirect ( ) -> route ( 'languages.index' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .