/** * */ private function emptyBlockTables() { foreach ($this->block->all() as $block) { $this->block->destroy($block); } }
/** * Remove the specified resource from storage. * * @param Block $block * @return Response */ public function destroy(Block $block) { $this->block->destroy($block); flash(trans('block::blocks.messages.block deleted')); return redirect()->route('admin.block.block.index'); }