0.0.1 • Published 7 years ago

fgh151-ember-crud v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

fgh151-ember-crud

Installation

  • cd /projet/folder
  • npm install fgh151-ember-crud

Running

  • ember g fgh152-crud foo
  • in config/enviroment.js add pod prefix, like
module.exports = function(environment) {
  var ENV = {
    modulePrefix: 'project',
    podModulePrefix: 'project/pods',
    ...
  }
}
  • Add rules to app/router.js:
  ...
  this.route('foos', function() {
    this.route('show', { path: ':foo_id' });
    this.route('new');
    this.route('edit', { path: ':foo_id/edit' });
  });
  ...