src/Http/Controllers/AdminController.php
public function update(Block $block, FormRequest $request)
    {
        $this->repository->update($request->id, $request->all());

        return $this->redirect($request, $block);
    }
public function update(Block $block, FormRequest $request)
    {
        $this->repository->update($request->id, $request->all());

        return $this->redirect($request, $block);
    }
Update the specified resource in storage.

@param \TypiCMS\Modules\Blocks\Models\Block              $block
@param \TypiCMS\Modules\Blocks\Http\Requests\FormRequest $request

@return \Illuminate\Http\RedirectResponse