Skip to content

Commit 404c6c2

Browse files
committed
Add some more detail on field changes
1 parent c3c640a commit 404c6c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/migrating-to-v1.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ As with most upgrades, if you're upgrading between versions with changes to the
1111
templates, and if you've customised them, you may need to apply recent changes.
1212
You can see those which changed in the [CHANGELOG][].
1313

14+
This applies to both modified files in `app/views/admin` and `app/views/fields`
15+
if you have your own Field classes defined. A good way is to use the same command
16+
to generate the view as for the earlier version:
17+
`rails generate administrate:views:ACTION MyModel`
18+
noting the changes and re-applying the modifications
19+
1420
[2397]: https://github.com/thoughtbot/administrate/pull/2397
1521
[CHANGELOG]: https://github.com/thoughtbot/administrate/blob/main/CHANGELOG.md
1622

0 commit comments

Comments
 (0)