If I truly need a non-restful API endpoint, I don&#x27;t worry too much about where to put it, because I&#x27;m doing it very rarely.<p>If I&#x27;m trying to break up a larger action into smaller ones often I&#x27;ll parameterize the endpoint and use a service object or some sort of abstraction in the controller to keep the action from getting too big