Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix with_mapper imports

  • Loading branch information...
commit 4c9782824d09230b7fe670603cabaac3bbc1f7e2 1 parent 7748c8c
@ldeck authored
View
3  src/main/scala/bootstrap/liftweb/Boot.scala
@@ -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
View
4 src/main/scala/bootstrap/liftweb/BootMapper.scala
@@ -6,9 +6,11 @@ import Helpers._
import common._
import http._
+import mapper._
import sitemap._
import Loc._
-import mapper._
+
+import code.model._
/**
* Boot Mapper config.
View
7 src/main/scala/bootstrap/liftweb/BootSitemap.scala
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.