public function index()
	{
		// SECURITY:
		// if view_table_permission is false, abort
		if (isset($this->crud['view_table_permission']) && !$this->crud['view_table_permission']) {
			abort(403, 'Not allowed.');
		}

		// get all results for that entity
		$model = $this->crud['model'];
		if (property_exists($model, 'translatable'))
		{
			$this->data['entries'] = $model::where('translation_lang', \Lang::locale())->get();
		}
		else
		{
			$this->data['entries'] = $model::all();
		}

			// add the fake fields for each entry
			foreach ($this->data['entries'] as $key => $entry) {
				$entry->addFakes($this->getFakeColumnsAsArray());
			}

		$this->prepareColumns();
		$this->data['crud'] = $this->crud;

		// load the view from /resources/views/vendor/dick/crud/ if it exists, otherwise load the one in the package
		return $this->firstViewThatExists('vendor.dick.crud.list', 'crud::list', $this->data);
	}