app/Http/Controllers/Admin/BlogTagsController.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(BlogTagsRequest $request)
    {
        $blogtag = new BlogTags();
        $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 added.');
    }
public function store ( BlogTagsRequest $ request ) { $ blogtag = new BlogTags ( ) ; $ 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 added.' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .