agoragames/stache — pull request #16 by zombor (2012-06-07 00:34:07+00:00)
Title: Enhanced mustache functionality - class based layouts, loading rb files, rails helpers

This has a few features we use for our mustache classes:

- Real class based layouts. This lets us define a page title in a proper OOP manner inside of a page class that extends the layout.
- Loads views from the .rb files instead of the .mustache files. This lets the class decide which template to use, or by default it will use the "normal" template based on the name.
- Adds the use of rails helpers like url generators inside a view class. This method was modeled after the Draper gem.