app/Http/Controllers/Admin/BlogTagsController.php
/**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \App\Models\BlogTags  $blogtag
     * @return \Illuminate\Http\Response
     */
Update the specified resource in storage.
Update the specified resource in storage .
public function update(BlogTagsRequest $request, BlogTags $blogtag)
    {
        $blogtag->tags_title = $request->tags_title;
        $blogtag->tags_seo_title = $request->tags_seo_title;
        $blogtag->tags_seo_keyword = $request->tags_seo_keyword;
        $blogtag->tags_seo_description = $request->tags_seo_description;
        $blogtag->save();
        return redirect(route('admin.blogtags.index'))->with('success','Blog Tag successfully Update.');
    }
public function update ( BlogTagsRequest $ request , BlogTags $ blogtag ) { $ blogtag -> tags_title = $ request -> tags_title ; $ blogtag -> tags_seo_title = $ request -> tags_seo_title ; $ blogtag -> tags_seo_keyword = $ request -> tags_seo_keyword ; $ blogtag -> tags_seo_description = $ request -> tags_seo_description ; $ blogtag -> save ( ) ; return redirect ( route ( 'admin.blogtags.index' ) ) -> with ( 'success' , 'Blog Tag successfully Update.' ) ; }
Update the specified resource in storage.
Update the specified resource in storage .