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
- Host: GitHub
- URL: https://github.com/foca/mustache-on-rails-example
- Owner: foca
- Created: 2009-10-05T16:53:34.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2009-10-09T20:26:15.000Z (over 16 years ago)
- Last Synced: 2023-04-10T10:20:00.139Z (about 3 years ago)
- Language: Ruby
- Homepage:
- Size: 173 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
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.