app/Http/Controllers/SocialController.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(SocialRequest $request)
    {
        $inputs = $request->except('submit');
        Social::create($inputs);
        return $this->redirect();
    }
public function store ( SocialRequest $ request ) { $ inputs = $ request -> except ( 'submit' ) ; Social :: create ( $ inputs ) ; return $ this -> redirect ( ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .