import ApplicationAdapter from './application';

export default ApplicationAdapter.extend({
	generateIdForRecord: function(store, type, inputProperties) {
	  return inputProperties.filePath.replace(/\//gi, '.');
	}
});
import ApplicationAdapter from './application';

export default ApplicationAdapter.extend({
  seq: 0,

	generateIdForRecord: function(store, type, inputProperties) {
	  return inputProperties.filePath.replace(/\//gi, '.') + "." + this.incrementProperty('seq');
	}
});

Fix issue cannot create two files of the same type
Fix issue cannot create two files of the same type
