Setting default layout path

12 views
Skip to first unread message

Facundo Viale

unread,
May 11, 2013, 2:44:48 PM5/11/13
to scalat...@googlegroups.com
Hi! I'm trying to set a default layout path but i cannot make it work. I'm doing this:

override def defaultLayoutPath : Option[String] = Some( "WEB-INF/layouts/" )

get( "/login" ) {
mustache( "login_page", "layout" -> "login_layout.mustache" )
}

Any ideas?

Cheers,

Ali.
Reply all
Reply to author
Forward
0 new messages