Skip to content

Instantly share code, notes, and snippets.

@jstrachan
Created March 15, 2010 15:46
Show Gist options
  • Select an option

  • Save jstrachan/332964 to your computer and use it in GitHub Desktop.

Select an option

Save jstrachan/332964 to your computer and use it in GitHub Desktop.
-@ import val it: Console
- import scala.collection.JavaConversions._
%h2 Scalate Console
%ul
- for (template <- templates)
%li
- val templateFile = servletContext.getRealPath(template)
%a(href="txmt://open/?url=file:" + templateFile)
edit #{template} in TextMate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment