Пример #1
0
 public function delete($entity_id, $id)
 {
     $attribute = $this->attribute;
     $entity = $this->entity;
     $item = $this->driver->get($entity_id);
     $image = \ImageDriver::get($id);
     $this->layout->title = ucwords($attribute) . ' - Delete';
     $this->layout->content = \View::make('admin.entities.images.delete', compact('entity', 'item', 'attribute', 'image'));
 }
Пример #2
0
 public function show($id)
 {
     $image = \ImageDriver::get($id);
     $this->layout->title = 'Image';
     $this->layout->content = \View::make('dev.images.show', compact('image'));
 }