Created
February 13, 2011 19:29
-
-
Save bcm/824985 to your computer and use it in GitHub Desktop.
default imports for scalate templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.fusesource.scalate.{Binding, TemplateSource} | |
import org.fusesource.scalate.support.TemplatePackage | |
class ScalatePackage extends TemplatePackage { | |
def header(source: TemplateSource, bindings: List[Binding]) = """ | |
import in.outside.slingshot._, controllers._, helpers._, models._ | |
import ru.circumflex.web._ | |
""" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment