An open API service indexing awesome lists of open source software.

https://github.com/foca/mustache-on-rails-example

A sample rails app to get mustache working on it
https://github.com/foca/mustache-on-rails-example

Last synced: 3 months ago
JSON representation

A sample rails app to get mustache working on it

Awesome Lists containing this project

README

          

Example of Mustache inside rails

WORKING:
* loads Mustache::Rails subclasses from app/views/{controller}/{action}.rb
* loads Mustache templates from app/templates/{controller}/{action}.html.mustache
* helpers and routing work

TODO:
* partials
* layouts
* complex helpers (forms!)
* different mime types (not just html.mustache)

See http://github.com/defunkt/mustache/issues#issue/3 for the discussion about this.