turn the xcri-cap generating function into a controller action so we can route to it directly