Skip to content

Commit ee857cc

Browse files
committed
clearer wording
1 parent ffd074b commit ee857cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/model-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ instanceDefaults(data, { store, models }) {
138138

139139
With the above attributes in place, you no longer have to manually specify any of the listed attributes. You can, however, provided data to replace them. Calling `new User({ firstName: 'Marshall' })` will create the instance with the `firstName` filled in, already.
140140

141-
One important note, the `isAdmin` attribute is specified in order to allow immediate binding in a form. You would pretty much NEVER allow specifying `isAdmin` from the client and storing it on the server. Attributes related to roles and app security should pretty much ALWAYS be written in hooks on the API server.
141+
One important note, the `isAdmin` attribute is specified in the above example in order to allow immediate binding in a form. You would pretty much NEVER allow specifying `isAdmin` from the client and storing it on the server. Attributes related to roles and app security should pretty much ALWAYS be written in hooks on the API server.
142142

143143
### setupInstance <Badge text="2.0.0+" />
144144

0 commit comments

Comments
 (0)