From 04b17741db68ee5d646fe6198a6051ec2f86d95a Mon Sep 17 00:00:00 2001 From: Reza Lavaryan Date: Fri, 8 Aug 2014 03:47:32 +0430 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 22b2ea2..17ed294 100644 --- a/README.md +++ b/README.md @@ -288,7 +288,7 @@ You can also get an item by Id if needed: $menu->all(); // or outside of the builder context - Menu::get('MenuName')->all(); + Menu::get('MyNavBar')->all(); // ... ?> ``` @@ -302,7 +302,7 @@ You can also get an item by Id if needed: $menu->first(); // or outside of the builder context - Menu::get('MenuName')->first(); + Menu::get('MyNavBar')->first(); // ... ?> ``` @@ -315,7 +315,7 @@ You can also get an item by Id if needed: $menu->last(); // or outside of the builder context - Menu::get('MenuName')->last(); + Menu::get('MyNavBar')->last(); // ... ?> ``` @@ -345,10 +345,10 @@ To check if an item has any children or not, you can use `hasChildren()` } // or outside of the builder context - Menu::get('MenuName')->about->children(); + Menu::get('MyNavBar')->about->children(); // Or - Menu::get('MenuName')->item('about')->children(); + Menu::get('MyNavBar')->item('about')->children(); // ... ?> ```