Created
August 18, 2011 17:50
-
-
Save smathy/1154648 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
get '/': -> | |
render 'index.jade', layout: 'layout.coffee' | |
view layout: -> | |
html -> | |
head -> | |
...etc... | |
view 'index.jade': """ | |
p Blah | |
""" | |
# I'd expect not to have to explicitly specify the layout, but if I don't then it interprets | |
# the layout as jade instead of as coffeekup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment