Permalink
Browse files

Reverting to no slashes

  • Loading branch information...
1 parent 3b29871 commit 7e9408f92bae0e624bd2e7e70b1bbfd41a764170 @mraible committed Jun 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/Scalate.scala
@@ -19,9 +19,9 @@ object Scalate {
lazy val scalateEngine = {
val engine = new TemplateEngine
- engine.resourceLoader = new FileResourceLoader(Some(Play.getFile("/app/views")))
+ engine.resourceLoader = new FileResourceLoader(Some(Play.getFile("app/views")))
engine.layoutStrategy = new DefaultLayoutStrategy(engine,
- Play.getFile("/app/views/layouts/default." + format).getAbsolutePath)
+ Play.getFile("app/views/layouts/default." + format).getAbsolutePath)
engine.classpath = Play.getFile("/tmp/classes").getAbsolutePath
engine.workingDirectory = Play.getFile("tmp")
engine.combinedClassPath = true

0 comments on commit 7e9408f

Please sign in to comment.