Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatten FormData fields #15

Closed
herzzanu opened this issue Nov 30, 2015 · 1 comment
Closed

Flatten FormData fields #15

herzzanu opened this issue Nov 30, 2015 · 1 comment

Comments

@herzzanu
Copy link

Where exactly should we add disableRoot: true?

Thank you!

@funtusov
Copy link
Owner

Hi! To the adapter code:

// adapters/post.js

import FormDataAdapterMixin from 'ember-cli-form-data/mixins/form-data-adapter';

export default ApplicationAdapter.extend(FormDataAdapterMixin, {
  // Adapter code
  disableRoot: true
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants