merb-gen should generate .haml views instead of .erb if haml gem is detected
Reported by David Lee | March 21st, 2008 @ 01:01 AM | in 1.0 (Nearish Future)
Or at least have a way to specify that you want to generate view templates in a certain format in init.rb.
Comments and changes to this ticket
-
Ezra Zygmuntowicz March 24th, 2008 @ 07:46 PM
- → State changed from new to open
- → Assigned user changed from to Daniel Neighman (hassox)
this one is all you Daniel, if you can come up with a good way of doing it.
-
Michael Klishin (antares) May 11th, 2008 @ 07:50 AM
- → Milestone changed from to 1.0 (Nearish Future)
-

jonuts May 12th, 2008 @ 03:47 AM
I have this working (mostly).
You can check it out at http://github.com/jonuts/merb-mo....
$merb-gen app myapp --haml adds a merb-haml dependency as well as generating application.html.haml. If "merb-haml" is listed as a dependency then when you generate a controller or resource it hamlizes all of the views.
-
jack dempsey (jackdempsey) June 11th, 2008 @ 11:32 PM
jonuts,
is this still valid? i tried to follow the link above but it appears invalid?
-

jonuts June 12th, 2008 @ 06:17 AM
Yeah, I suck at git and messed up the repo pretty horrendously.
New repo: http://github.com/jonuts/merb-more
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
