Notably we added the `mustaches` and `namespace` settings. You can use `mustaches` to tell Mustache where Ruby view files are located, e.g. set :mustaches, "path/to/mustache/views" The `namespace` option is used for telling Mustache which namespace the Views classes all live under. If you have a view named `Hurl::Views::Stats`, you'll want to set `namespace` to Hurl: set :namespace, Hurl and put the class into a file named `stats.rb` that lives under the `mustaches` setting: $ cat path/to/mustache/views/stats.rb module Hurl module Views class Stats < Mustache # blah end end end The `mustaches` setting defaults to the Sinatra `views` setting and the `namespace` setting defaults to `Object`.
This makes your mustache behave more accordingly with what you'd expect from a sinatra view: if you set an ivar on the route, you want it available on your mustache.