Skip to content

Commit

Permalink
Reintroduce missing ScalateSupport.DefaultLayouts
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Aug 20, 2011
1 parent 7d17cc5 commit f676f89
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import org.fusesource.scalate.servlet.{ServletRenderContext, ServletTemplateEngi
import java.lang.Throwable

object ScalateSupport {
val DefaultLayouts = Seq(
"/WEB-INF/layouts/default",
"/WEB-INF/scalate/layouts/default"
)
private def setLayoutStrategy(engine: TemplateEngine) = {
val layouts = for {
base <- ScalateSupport.DefaultLayouts
Expand Down

0 comments on commit f676f89

Please sign in to comment.