src/Http/Controllers/AdminController.php
public function store(FormRequest $request)
    {
        $block = $this->repository->create($request->all());

        return $this->redirect($request, $block);
    }
public function store(FormRequest $request)
    {
        $block = $this->repository->create($request->all());

        return $this->redirect($request, $block);
    }
Store a newly created resource in storage.

@param \TypiCMS\Modules\Blocks\Http\Requests\FormRequest $request

@return \Illuminate\Http\RedirectResponse