app/Http/Controllers/Avalon/CategoryController.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(StoreCategoryRequest $request)
    {
        $category = Category::create($request->all());
        return redirect()->action('Avalon\CategoryController@index');
    }
public function store ( StoreCategoryRequest $ request ) { $ category = Category :: create ( $ request -> all ( ) ) ; return redirect ( ) -> action ( 'Avalon\CategoryController@index' ) ; }
Store a newly created resource in storage.
Store a newly created resource in storage .
//        dd($category);