{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/13e1f55ad0de3139470536022839ed89?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"13e1f55ad0de3139470536022839ed89","url":"https://api.github.com/users/meleyal","login":"meleyal","id":15045},"assignee":null,"updated_at":"2011-11-14T18:17:07Z","labels":[{"name":"enhancement","color":"02d7e1","url":"https://api.github.com/repos/meleyal/backbone-on-rails/labels/enhancement"}],"closed_at":null,"comments":0,"url":"https://api.github.com/repos/meleyal/backbone-on-rails/issues/1","body":"The generators should accept an option (--path, --prefix)? so that:\r\n\r\n    rails generate backbone:scaffold planet --prefix universe\r\n\r\nWould generate:\r\n\r\n\r\n\tapp/assets/\r\n\t├── javascripts\r\n\t│   ├── application.js\r\n\t│   └── universe\r\n\t│       ├── test_app.js.coffee\r\n\t│       ├── collections\r\n\t│       │   └── planets.js.coffee\r\n\t│       ├── models\r\n\t│       │   └── planet.js.coffee\r\n\t│       ├── routers\r\n\t│       │   └── planets_router.js.coffee\r\n\t│       └── views\r\n\t│           └── planets\r\n\t│               └── planets_index.js.coffee\r\n\t└── templates\r\n\t    └── universe\r\n\t        └── planets\r\n\t            └── index.jst.eco\r\n","html_url":"https://github.com/meleyal/backbone-on-rails/issues/1","title":"Add a path prefix option to the generators","number":1,"id":2234067,"created_at":"2011-11-14T18:17:07Z"},"action":"opened"}