Skip to content

Commit

Permalink
Issue #685. SiteMap mutators for Module support
Browse files Browse the repository at this point in the history
  • Loading branch information
dpp committed Dec 5, 2010
1 parent d73ec98 commit fe6afe2
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -36,14 +36,12 @@ class Boot {


// Build SiteMap // Build SiteMap
def sitemap() = SiteMap( def sitemap() = SiteMap(
Menu("Home") / "index" :: // Simple menu form Menu("Home") / "index" >> User.AddUserMenusAfter, // Simple menu form
// Menu with special Link // Menu with special Link
Menu(Loc("Static", Link(List("static"), true, "/static/index"), Menu(Loc("Static", Link(List("static"), true, "/static/index"),
"Static Content")) :: "Static Content")))
// Menu entries for the User management stuff
User.sitemap :_*)


LiftRules.setSiteMapFunc(sitemap) LiftRules.setSiteMapFunc(() => User.sitemapMutator(sitemap()))


/* /*
* Show the spinny image when an Ajax call starts * Show the spinny image when an Ajax call starts
Expand Down

0 comments on commit fe6afe2

Please sign in to comment.