app/Http/Controllers/ArticlesController.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)
    {
        $article = new Article;
        $article->title = $request->title;
        $article->body = $request->body;
        $article->save();
    }
public function store ( Request $ request ) { $ article = new Article ; $ article -> title = $ request -> title ; $ article -> body = $ request -> body ; $ article -> save ( ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
//