coforma / swift-tech-challenge

MIT License
0 stars 0 forks source link

fix navigation to show not found if id does not exist #145

Closed gmrabian closed 5 months ago

gmrabian commented 5 months ago

Summary

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #144

Type of change

How To Test

  1. Go to the homepage
  2. Manually modify the path to be something that is not a college id
    • /123
    • /invalid
    • etc.
  3. Verify the not-found page shows

Checklist:

Request for feedback

Is there a better way we could put this together? Additionally, should we consider putting the ids under a heading like /institutions/[id] or something so that there is some indication in the path what the id means?