Skip to content
This repository
Browse code

MINOR Fix reference to class that was renamed in modeladmin docs

  • Loading branch information...
commit 769995cd1d6cec6b0591fee493488d12afb2b33c 1 parent 4da42f2
Sean Harvey authored March 24, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  docs/en/reference/modeladmin.md
4  docs/en/reference/modeladmin.md
Source Rendered
@@ -176,7 +176,7 @@ To customize the exported columns, override the edit form implementation in your
176 176
 			$form = parent::getEditForm($id);
177 177
 			if($this->modelClass == 'Product') {
178 178
 				$grid = $form->Fields()->fieldByName('Product');
179  
-				$grid->getConfig()->getComponentByType('GridFieldExporter')
  179
+				$grid->getConfig()->getComponentByType('GridFieldExportButton')
180 180
 					->setExportColumns(array(
181 181
 						// Excludes 'ProductCode' from the export
182 182
 						'Name' => 'Name',
@@ -224,4 +224,4 @@ For an introduction how to customize the CMS templates, see our [CMS Architectur
224 224
 * [genericviews Module](http://silverstripe.org/generic-views-module)
225 225
 * [Presentation about ModelAdmin at SupperHappyDevHouse Wellington](http://www.slideshare.net/chillu/modeladmin-in-silverstripe-23)
226 226
 * [Reference: CMS Architecture](../reference/cms-architecture)
227  
-* [Howto: Extend the CMS Interface](../howto/extend-cms-interface)
  227
+* [Howto: Extend the CMS Interface](../howto/extend-cms-interface)

0 notes on commit 769995c

Please sign in to comment.
Something went wrong with that request. Please try again.