Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed from absolute path to canonical path. Fixes #11 on Heroku.

commit 3e981ab4f31c6333ee0276cd2d84b44cba47b7c8 1 parent 7e9408f
Matt Raible authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/Scalate.scala
2  app/controllers/Scalate.scala
View
@@ -21,7 +21,7 @@ object Scalate {
val engine = new TemplateEngine
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).getCanonicalPath)
engine.classpath = Play.getFile("/tmp/classes").getAbsolutePath
engine.workingDirectory = Play.getFile("tmp")
engine.combinedClassPath = true
Please sign in to comment.
Something went wrong with that request. Please try again.