Improved Sinatra support, but you'll need to update your app.
Improved Sinatra support, but you'll need to update your app.

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`.

michael-gabenna/mustache,oelmekki/mustache,victormours/mustache,nuclearsandwich/mustache,thelazycamel/mustache,mustache/mustache,wowteacher/mustache,evilstreak/mustache,singy/mustache,evilstreak/mustache,alloy/mustache