Skip to content

Commit

Permalink
Merge pull request #183 from adriguy/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
esbanarango authored Nov 5, 2021
2 parents c0c8385 + cbd563a commit 08e7409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ myModel.validate({ except: ['name:presence,length', 'email'] });

```js
import Model, { attr } from '@ember-data/model';
import Validator from 'ember-model-validator/decorators/object-validator';
import Validator from 'ember-model-validator/decorators/model-validator';

@Validator
export default class MyModel extends Model {
Expand Down

0 comments on commit 08e7409

Please sign in to comment.