Display all Blog entries.

@param int $id

@return Response
763872
public function all()
    {
        $blogs = $this->repository->published();
        $tags = $this->repository->allTags();

        if (empty($blogs)) {
            abort(404);
        }

        return view('cms-frontend::blog.all')
            ->with('tags', $tags)
            ->with('blogs', $blogs);
    }
4502
public function actionView(int $id)
    {
        $model = $this->findModel($id);

        return $this->render('view', [
            'model' => $model,
            'usernameField' => $this->usernameField,
        ]);
    }
789184
public function show(EntriesRepository $storage, $id)
    {
        $entry = $storage->find($id);

        return response()->json([
            'entry' => $entry,
            'batch' => $storage->get(null, EntryQueryOptions::forBatchId($entry->batchId)->limit(-1)),
        ]);
    }
648626
public function show($id)
    {
        $options = $this->getParams('includes');

        $product = Subbly::api('subbly.product')->find($id, $options);

        return $this->jsonResponse(array(
            'product' => $this->presenter->single($product),
        ));
    }
1041797
public function history($id)
    {
        $page = $this->repository->find($id);

        return view('cms::modules.pages.history')
            ->with('page', $page);
    }
450829
public function show($id)
    {
        try {
            $category = $this->repository->findById($id);

            return $this->view('categories.show', compact('category'));
        } catch (ModelNotFoundException $e) {
            return $this->redirectNotFound();
        }
    }
764946
public function view(string $id)
    {
        $group = $this->Groups->get($id, [
            'contain' => ['Users' => function ($q) {
                return $q->select(['Users.id', 'Users.username', 'Users.first_name', 'Users.last_name']);
            }]
        ]);

        $this->set('group', $group);
        $this->set('_serialize', ['group']);
    }
889990
public function view($id)
    {
        $component = $this->processor->view($id);

        return response($component['component']->__toString(), 200);
    }
882864
public function getShow($id)
    {
        $response = $this->modelService->getBy($id);

        //return resource listing view
        return view(\OogleeUConfig::get('config.user_view.view'), compact('response'));
        
    }
1219724
public function findOrFail(int $id)
    {
        $response = $this->model->with($this->with)->findOrFail($id);
        $this->with = [];
        return $response;
    }
1330674
public function view($id = null) {
        $role = $this->Roles->get($id, [
            'contain' => ['Tasks', 'Users']
        ]);
        $this->set('role', $role);
        $this->set('_serialize', ['role']);
    }
477944
public function show($id)
	{
		$entity = $this->getModel()->getRepository()->getById($id);

		return $this->response()
			->item($entity)
			->view($this->getView('show'), [
				'entity' => $entity
			]);
	}
633879
public function view($id = null) {
        $user = $this->Users->get($id, [
            'contain' => ['Roles']
        ]);
        $this->set('user', $user);
        $this->set('_serialize', ['user']);
    }
902798
public function actionView($id)
    {
        $model = $this->findModel($id);
        $viewPostUrl = $this->getViewPostUrl($model);

        return $this->render('view', [
            'model' => $model,
            'viewPostUrl' => $viewPostUrl,
        ]);
    }
746442
public function show($id)
    {
        $data = $this->service->show($id);

        return $this->success($data);
    }
136872
public function fetchById($id)
    {
        $data = $this->getRequest()->getContents($this->getKey(), $id);
        return $data;
    }
37583
public function actionView($id)
    {

        $photos = GalleryPhoto::find()->where(['gallery_id' => $id])->orderBy('name')->all();

        return $this->render('view', [
            'model' => $this->findModel($id),
            'photos' => $photos,
        ]);
    }