it has generators for model, controllers, views or all of them at once (resource generator)
views are plain simple, but can generate hamljs, eco or ejs templates (automatically, depending on the app gems)
app.js.coffee extends Spine.Controller with convenience method to render views: @render 'show', post
the directory structure is NOT in the app/assets/javascripts/app/{models,views,controllers}, but rather in app/assets/javascripts/{models,views,controllers} (that app/.../app freaks me out).
Hope to get this merged in.
It will not break anything (I promise!), so just rake release after merge :)
This is pretty large pull request.
But the most notable things are:
app.js.coffee
extendsSpine.Controller
with convenience method to render views:@render 'show', post
app/assets/javascripts/app/{models,views,controllers}
, but rather inapp/assets/javascripts/{models,views,controllers}
(thatapp/.../app
freaks me out).Hope to get this merged in.
It will not break anything (I promise!), so just
rake release
after merge :)Cheers.