From: Larry Mills-G. <el...@gm...> - 2016-04-22 22:43:06
|
I am searching my memory for Rest route conventions for entities and paths because I have a disconnect between the path generated by ERXRestRouteLink and what I would expect from the explicit and default routes. I’ve modeled most of this on the ERRestRouteExample so I’m not sure where I am going wrong. I am trying to access entity name “Discipline” using the automatic html routing (to DisciplineShowPage) and @ERXRouteParameter. The URLs registered in the Application work fine, but ERXRestRouteLink generates lower-case plural entity name. (instead of …/ra/Discipline/1.html, ERXRestRouteLink generates …/ra/disciplines/1.html) I feel like I’m missing something obvious/small but I can’t find it. Any help or references would be appreciated. Larry Mills-Gahl elemgee at gmail dot com |