need to require 'stylus/tilt'

This commit is contained in:
Konstantin Haase 2013-02-26 20:38:02 +11:00
parent 17743444a8
commit e7f21f1056
2 changed files with 3 additions and 1 deletions

View File

@ -845,6 +845,8 @@ template than for the layout by passing the `:layout_engine` option.
</tr>
</table>
Before being able to use Stylus templates, you need to `require 'stylus/tilt'`.
#### Yajl Templates
<table>

View File

@ -1,7 +1,7 @@
require File.expand_path('../helper', __FILE__)
begin
require 'stylus'
require 'stylus/tilt'
begin
Stylus.compile '1'