Created
April 30, 2010 21:40
-
-
Save timperrett/385799 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def sitemap = SiteMap( | |
Menu("Home") / "index" >> LocGroup("public"), | |
Menu("Search") / "search" >> LocGroup("public"), | |
Menu("History") / "history" >> LocGroup("public"), | |
Menu("Auctions") / "auctions" >> LocGroup("public"), | |
Menu("Auction Detail") / "auction" >> LocGroup("public"), | |
// admin | |
Menu("Admin") / "admin" / "index" >> LocGroup("admin"), | |
Menu("Suppliers") / "admin" / "suppliers" >> LocGroup("admin") submenus(Supplier.menus : _*), | |
Menu("Auction Admin") / "admin" / "auctions" >> LocGroup("admin") submenus(Auction.menus : _*), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment