Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 3e981ab4f31c6333ee0276cd2d84b44cba47b7c8 1 parent 7e9408f
Matt Raible authored June 21, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  app/controllers/Scalate.scala
2  app/controllers/Scalate.scala
@@ -21,7 +21,7 @@ object Scalate {
21 21
     val engine = new TemplateEngine
22 22
     engine.resourceLoader = new FileResourceLoader(Some(Play.getFile("app/views")))
23 23
     engine.layoutStrategy = new DefaultLayoutStrategy(engine,
24  
-      Play.getFile("app/views/layouts/default." + format).getAbsolutePath)
  24
+      Play.getFile("app/views/layouts/default." + format).getCanonicalPath)
25 25
     engine.classpath = Play.getFile("/tmp/classes").getAbsolutePath
26 26
     engine.workingDirectory = Play.getFile("tmp")
27 27
     engine.combinedClassPath = true

0 notes on commit 3e981ab

Please sign in to comment.
Something went wrong with that request. Please try again.