On Wed, May 6, 2020 at 3:48 PM Craig Russell <apache....@gmail.com> wrote: > > I've been looking for where the roster post actions are handled. I have the > model for committer and the html in the browser. > > But where are post action:emeritus and action:active handled?
All of the routes are defined here: https://github.com/apache/whimsy/blob/master/www/roster/main.rb Unless you have unusual needs, you can take advantage of the generic route defined here: https://github.com/apache/whimsy/blob/1316a898d5e8c91e8a33d89565d12efc4842dd56/www/roster/main.rb#L343 If you use that route, then /actions/emeritus will invoke a script by that name in the whimsy/www/roster/views/actions directory, and will take value returned by the last line, convert it to JSON and sent the results back to the client. > Thanks, > Craig - Sam Ruby > Craig L Russell > c...@apache.org >