src/controllers/admin/AdminCrudController.php
public function delete($id, $ajax = false)
	{
		$Model = App::make($this->Model);

		$object = $Model::findOrFail($id);
		$object->delete();

		if ($ajax) return 1;

		return $this->delete_redirect();
	}
public function delete($id, $ajax = false)
	{
		$Model = App::make($this->Model);

		$object = $Model::findOrFail($id);
		$object->delete();

		if ($ajax) return 1;

		return $this->delete_redirect();
	}
Delete a model by ID.

@param int $id - The ID of the model we're deleting.
@param bool $ajax - Is this an AJAX deletion?
@return $this->delete_redirect() - Where to go after a deletion?