Custom route & controller method - throws 404

Exactly :slight_smile: The reason for this is Koa (Strapi’s backend framework it uses) match routes based on regex, and does so in order of the JSON file from top to bottom.

This means “/observations/gallery” looks like gallery is the :id :stuck_out_tongue:

1 Like