Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
by
Lessons:26Length:4.8 hours
  • Overview
  • Transcript

5.2 Enhancing Our Models

When we were creating our models early on, we took a few liberties in assuming that our routes would never change. In doing that, we were only returning IDs to refer to specific resources. In this lesson, I will give you a better way for users to be able to refer to these specific entities even if our routes change in the future.