示例#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'));
 }