"backend/api/aws/ec2/git@git.gitsec.cn:baidan/clutch.git" did not exist on "05d8f07ab7449409884a6c7ba08dda408a913406"
Commit c20b9c5a authored by Michael Lange's avatar Michael Lange
Browse files

Make sure to treat the namespace Name as the ID

Showing with 9 additions and 1 deletion
+9 -1
import Ember from 'ember';
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
const { computed } = Ember;
export default Model.extend({
name: attr('string'),
name: computed.readOnly('id'),
hash: attr('string'),
description: attr('string'),
});
import ApplicationSerializer from './application';
export default ApplicationSerializer.extend({
primaryKey: 'Name',
});
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment