Skip to content

Conversation

@JudahSan
Copy link
Collaborator

  • Updated motor.yml to use thumbnail_url and link_url instead of thumbnail and link
  • Fixes error when saving new LearningMaterial records in Motor Admin
  • Ensures admin form fields map correctly to model alias_attribute methods

- Replaced `thumbnail` with `thumbnail_url` and `link` with `link_url` in motor.yml
- Ensures Motor Admin works with the alias_attribute mappings in LearningMaterial
- Prevents "thumbnail is not an attribute" error when loading admin panel
@JudahSan JudahSan added the bug Something isn't working label Sep 12, 2025
@adamswonder adamswonder merged commit f3ccc94 into African-Ruby-Community:main Sep 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants