Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Missing leading slash: no error, but wrong filename #1015
A routing rule that returns a path that does not start with a slash will cause the filename to be stupidly concatenated to the output dir name.
See this blog post:
For example, the following:
compile '/foo.*' do filter :erb, stuff: self write 'foo.html' end