ResourceServer.allow {
case _ => true
}
Still embed does not find the templates:
> [ERROR] net.liftweb.builtin.snippet.Embed - 'embed' snippet failed with message: FIXME trying to embed a template named '/templates-hidden/parts/footer', but the template not found.
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
object application extends Application with MySqlApplication with MailApplication {
def connection = Props.get("db.url").openOrThrowException("No database connection URL defined. Set property db.url")
def username = Props.get("db.username").openOrThrowException("No database username defined. Set property db.username")
def password = Props.get("db.password").openOrThrowException("No database password defined. Set property db.password")
def packages = "com.myorganization.package" :: Nil
def resourcePaths = "path/resource" :: Nil
override def entries = List(
...
)
}
application.init()