Christopher Chiche
Christopher Chiche

Reputation: 15325

Folders In SiteMap Using Liftweb

I am wondering if it is possible to create folders in the webapp folder to rearrange my html pages. For now I don't know how to configure my siteMap in Boot.scala. Any help?

Upvotes: 0

Views: 78

Answers (1)

leedm777
leedm777

Reputation: 24032

Yes, just specify the path like "folder" / "template". Here's an example from my Boot.scala:

Menu.i("showUser") / "user" / "show"

This will use the template in webapp/user/show.html.

Upvotes: 3

Related Questions