app/Http/Controllers/divisionsController.php
/**
     * Store a newly created divisions in storage.
     *
     * @param CreatedivisionsRequest $request
     *
     * @return Response
     */
Store a newly created divisions in storage.

@return Response
Store a newly created divisions in storage . @return Response
public function store(CreatedivisionsRequest $request)
    {
        $input = $request->all();
        $divisions = $this->divisionsRepository->create($input);
        Flash::success('Divisions saved successfully.');
        return redirect(route('divisions.index'));
    }
public function store ( CreatedivisionsRequest $ request ) { $ input = $ request -> all ( ) ; $ divisions = $ this -> divisionsRepository -> create ( $ input ) ; Flash :: success ( 'Divisions saved successfully.' ) ; return redirect ( route ( 'divisions.index' ) ) ; }
Store a newly created divisions in storage.
Store a newly created divisions in storage .