meleyal/backbone-on-rails — Issue #1: Add a path prefix option to the generators
Author: meleyal
Created: 2011-11-14 18:17:07+00:00
State: open
Labels: enhancement

The generators should accept an option (--path, --prefix)? so that:

rails generate backbone:scaffold planet --prefix universe

Would generate:

app/assets/
├── javascripts
│ ├── application.js
│ └── universe
│ ├── test_app.js.coffee
│ ├── collections
│ │ └── planets.js.coffee
│ ├── models
│ │ └── planet.js.coffee
│ ├── routers
│ │ └── planets_router.js.coffee
│ └── views
│ └── planets
│ └── planets_index.js.coffee
└── templates
└── universe
└── planets
└── index.jst.eco