Since CamelCase format is not used for controller name. The mapping has to match with the exact name of the controller. Modify the url mapping as below:
"/rte" (controller: "RTE") { //controller name all CAPS
action = [GET: "subscriptions"]
}
Also note, this is applicable during dependency injection as well. For example, if there is a service named RTEService
, then it can only be injected in other classes as
def RTEService //instead of def rteService or def rTEService