src/Http/Controllers/BlockResourceController.php
public function create(BlockRequest $request)
    {

        $block = $this->repository->newInstance([]);
        return $this->response->setMetaTitle(trans('app.new') . ' ' . trans('block::block.name')) 
            ->view('block::admin.block.create') 
            ->data(compact('block'))
            ->output();
    }
public function create(BlockRequest $request)
    {

        $block = $this->repository->newInstance([]);
        return $this->response->setMetaTitle(trans('app.new') . ' ' . trans('block::block.name')) 
            ->view('block::admin.block.create') 
            ->data(compact('block'))
            ->output();
    }
public function create ( BlockRequest $ request ) { $ block = $ this -> repository -> newInstance ( [ ] ) ; return $ this -> response -> setMetaTitle ( trans ( 'app.new' ) . ' ' . trans ( 'block::block.name' ) ) -> view ( 'block::admin.block.create' ) -> data ( compact ( 'block' ) ) -> output ( ) ; }
Show the form for creating a new block.

@param Request $request

@return Response
Show the form for creating a new block .