From 9c9e5c065686a347d6173ee738f27b207a9de199 Mon Sep 17 00:00:00 2001 From: James Goodman Date: Tue, 24 Dec 2013 07:59:05 +1300 Subject: [PATCH] Fix error in code block for ModelAdmin example --- docs/en/reference/modeladmin.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/reference/modeladmin.md b/docs/en/reference/modeladmin.md index 799b5f791..4f571e2a9 100644 --- a/docs/en/reference/modeladmin.md +++ b/docs/en/reference/modeladmin.md @@ -38,7 +38,7 @@ We'll name it `MyAdmin`, but the class name can be anything you want. class MyAdmin extends ModelAdmin { private static $managed_models = array('Product','Category'); // Can manage multiple models private static $url_segment = 'products'; // Linked as /admin/products/ - private $menu_title = 'My Product Admin'; + private static $menu_title = 'My Product Admin'; } This will automatically add a new menu entry to the CMS, and you're ready to go!