caffeinated / menus

:pushpin: Menu generator package for the Laravel framework
https://caffeinatedpackages.com
132 stars 59 forks source link

I use localization and need some help #85

Open phillipmadsen opened 8 years ago

phillipmadsen commented 8 years ago

I am trying to use your manu generator but cannot figure out how to add my localization to the link after the domain but before the route. How would I do this with your package?

http://www.example.com/{localization}/blog

_http://www.example.com/en/blog_

any help would be greatly appreciated.

phillipmadsen commented 8 years ago

Nevermind I figured it out.

For anyone else I added it into the menu middleware like so. $menu->add('Terms of Use', getLang() . '/terms');