Permalink
Browse files

fix with_mapper imports

  • Loading branch information...
1 parent 7748c8c commit 4c9782824d09230b7fe670603cabaac3bbc1f7e2 @ldeck committed Apr 27, 2012
@@ -6,9 +6,12 @@ import Helpers._
import common._
import http._
+import mapper._
import sitemap._
import Loc._
+import code.model._
+
/**
* A class that's instantiated early and run. It allows the application
* to modify lift's environment
@@ -6,9 +6,11 @@ import Helpers._
import common._
import http._
+import mapper._
import sitemap._
import Loc._
-import mapper._
+
+import code.model._
/**
* Boot Mapper config.
@@ -6,9 +6,11 @@ import Helpers._
import common._
import http._
+import mapper._
import sitemap._
import Loc._
-import mapper._
+
+import code.model._
/**
* A class that's instantiated early and run. It allows the application
@@ -17,8 +19,7 @@ import mapper._
object BootSitemap {
def boot {
// Build SiteMap
- def sitemap = SiteMap
- (
+ def sitemap = SiteMap(
Menu.i("Home") / "index" >> User.AddUserMenusAfter, // the simple way to declare a menu
// more complex because this menu allows anything in the

0 comments on commit 4c97828

Please sign in to comment.